Patches item #666560, was opened at 2003-01-11 23:48
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=304866&aid=666560&group_id=4866
Category: WebKit
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Luke Holden (lholden)
>Assigned to: Stuart Donaldson (stuartd)
Summary: Let non reletive urls work in forward() and includeURL()
Initial Comment:
if you use:
self.forward("/someurl")
It is treated reletive to the current directory.
So if you are in the directory
/auth/actions
you get:
/auth/actions/someurl
which is not what you would expect...
This patch changes forward and includeURL to detect if
your trying to use a file from the root directory, and
if you are.. adds req.siteRoot() as needed.
so self.forward("/someurl")
will work as expected
however:
so self.forward("someurl")
will still work reletive to the current directory.
----------------------------------------------------------------------
>Comment By: Stuart Donaldson (stuartd)
Date: 2003-01-12 10:49
Message:
Logged In: YES
user_id=326269
This is closely related to the path parsing problems I am
looking at right now. This works in some cases, but on its
own, it fails with ExtraPathInfo in FindServlet I think.
I'm looking into this further right now. Thanks for the
Patch, I'll likely use a good part of it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=304866&aid=666560&group_id=4866
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel