RFC2396 (http://www.ietf.org/rfc/rfc2396.txt C.2) does not restrict the characters after the # symbol in URIs. The regex used to validate in the module restricts it with the following: (#[a-z0-9_\-\.~+%=&,$'():;*@\[\]]*) (line 865). There are live examples of sites using forward slashes after the # symbol, e.g. http://www.cnn.com/video/#/video/politics/2008/12/09/intv.madeleine.albr.... This fails the current validation in the module. At the very least the forward slash should be added to the allowed characters. Attached is a patch that makes this change.

CommentFileSizeAuthor
link.fragment.20090408.patch569 byteswhurley

Comments

jaydub’s picture

jcfiala’s picture

Assigned: Unassigned » jcfiala

Just raising this issue in the list so I'm reminded of it later.

japanitrat’s picture

jcfiala’s picture

Status: Active » Closed (duplicate)

I'm marking this as a duplicate of #615642: "/" and "?" should be valid after anchor, and I'll be marking that one as fixed in a minute.