[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: #'s before final /'s in URLs



jidanni@xxxxxxxxxxx writes:

> https://productforums.google.com/d/msg/business/-TtCFKQwiAk/QP1G63382-YJ
> gives
> No such anchor: !msg/business/-TtCFKQwiAk/QP1G63382-YJ
> whereas in other browsers it works fine.
>
> At least lynx does not think it is a anchor... maybe anchors are only #
> after any final /.

No. This is fine. Please see http://tools.ietf.org/html/rfc3986

URI         = scheme ":" hier-part [ "?" query ] [ "#" fragment ]

and

fragment    = *( pchar / "/" / "?" )

It means "/" can be occur after "#".

Also, resolving "g#s/./x" on "http://a/b/c/d;p?q" should return
"http://a/b/c/g#s/./x".

Naohiro,