https://bz.apache.org/bugzilla/show_bug.cgi?id=58777
--- Comment #7 from Eric Covener <[email protected]> --- (In reply to Ben RUBSON from comment #6) > We could have several question marks in a filename, without any QUERY_STRING > attached to the URI. > So splitting on the rightmost question mark would not work here. In mod_rewrite, you can always append a final question mark to signify no query string. I think this has a nice relationship to the requested behavior. > > I think a safe manner would be to split before urldecode : > - filename question marks would then be encoded to %3F, so would not be > caught ; > - the QUERY_STRING question mark, a clear ?, would be the character expected > to split. > With this method, no additional flag required. However I don't know whether > or not mod_rewrite has access to the request before urldecode. Unfortunately, the splitting happens on the substitution itself, which can have any permutation of encoded/unencoded/captured/ and escaped/not-escaped characters. Currently the escaping here is really problematic (B, NE, etc and not taking the URL context or the source of the capture into account -- very hairy) -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
