#889: url('foo') unexpected behaviour (server.webpath prepended)
------------------------+---------------------------------------------------
Reporter: anonymous | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: TurboGears | Version: 0.9a6
Severity: major | Keywords:
------------------------+---------------------------------------------------
Using url('foo') when server.webpath is set yields unexpected (in my
opinion) result of server.webpath + 'foo'. It would be more natural for
url() to return 'foo', or full path with components between app root and
current "node" included.
Current behaviour can really break things, e.g. after logging in
quickstart application (not mounted on web server's "/"), where browser is
forwarded to a location like: http://foo.bar/baz/http://foo.bar/baz/page
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/889>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---