"alesj" wrote :
| All I'm saying is what does the spec say (if it says anything at all).
|
http://www.ietf.org/rfc/rfc2396.txt
anonymous wrote :
| 5.2. Resolving Relative References to Absolute Form
|
| ..blah..
|
| 6) If this step is reached, then we are resolving a relative-path
| reference. The relative path needs to be merged with the base
| URI's path. Although there are many ways to do this, we will
| describe a simple method using a separate string buffer.
|
| a) All but the last segment of the base URI's path component is
| copied to the buffer. In other words, any characters after the
| last (right-most) slash character, if any, are excluded.
|
So:
/a/b/c + d = /a/b/d
/a/b/c/ + d = /a/b/c/d
and hence the change in behaviour of the relative url resolution.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211219#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...