7 Nov
2012
7 Nov
'12
4:14 p.m.
On Wed, Nov 07, 2012 at 03:20:20AM +0000, corvid wrote:
I had two files with '#' in their names that I wanted to view -- file#1.png and file#2.png -- and dillo showed me the same file in each tab.
That's because '#' is not a valid character inside a URL. Technically: /* * Regular Expression as given in RFC3986 for URL parsing. * * ^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))? * 12 3 4 5 6 7 8 9 * * scheme = $2 * authority = $4 * path = $5 * query = $7 * fragment = $9 * [...] i.e. anything after '#' is a 'fragment'. and BTW, that's why the file dpi escapes '#' as '%23' to be able to show the file. HTH. -- Cheers Jorge.-