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: Nobody/Anonymous (nobody)
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.
----------------------------------------------------------------------
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