Re: URI: Query string do not work in file: URLs
Gisle Aas <[email protected]> Sun, 22 Aug 2010 13:31:33 +0200
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Aug 15, 2010 at 22:40, Father Chrysostomos <[email protected]> wrote: > URI::file has this little line in it: > > sub path { shift->path_query(@_) } > > which makes it impossible to test web pages offline (via file: rather than http:). All web browsers I’ve used allow a query string to be added to a file URL, and require %3f to be used for files with question marks in their names. The query string is not entirely useless. It allows information to be passed to scripts embedded in the page. > > Is there any chance this line could be removed? This seems reasonable. <http://github.com/gisle/uri/commit/d68f48165a1abe746fab5f2844acb23dcef17857> --Gisle