[Tutor] How can a CGI program get the URL that called it?

Terry Carroll carroll at tjc.com
Sat Jan 11 01:06:57 CET 2014


On Sat, 11 Jan 2014, Steven D'Aprano wrote:

> However, if you pass a path using \ to posixpath, it treats them as
> non-separators:

That's apparenbtly what's happening.  I didn't investigate much, once I 
found out that using posixpath didn't address the issue I was having; 
using replace() was pretty straightforward.


More information about the Tutor mailing list