DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7771>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7771

[PATCH] HttpServletResponse.encodeURL and encodeRedirectURL appends link anchor before 
query string.

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From [EMAIL PROTECTED]  2002-04-05 18:17 -------
Remy,

I'm not sure this is a "fix".

If the anchor correctly follows the query, then the anchor travels to the
rewritten URL via the query.  No anchor will be detected because is was removed
as part of the query.  Only if there is no query will an achor be detected.
Thus the order doesn't matter except that the old code recreates the same order 
as in the original URL.

With this patch, a URL with the anchor incorrectly in front of the query will
be rewritten in a "fixed" format.  IMHO, if the URL is wrong to start with,
it should still be wrong after it is rewritten.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to