Ticket #13491 (confirmed Bug)
Bad "request['URL']" for "browser:page" with "attribute" attribute
Reported by: | dieter | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.x |
Component: | Backend (Python) | Version: | 4.2 |
Keywords: | Cc: | dieter@… |
Description
If a view is registered by
<browser:page name="<name>" attribute="<attr>" ... />
its request['URL'] gets a value of ".../<name>/<attr>" (instead of ".../<name>" -- the value without an "attribute" attribute in the registration).
As a consequence, relative urls are wrongly resolved (Zope sets a bad "base" element in HTML responses) and absolute urls computed based on request['URL'] and friends can be wrong (if the artificial "<attr>" url segment is not taken into account).
Change History
Note: See
TracTickets for help on using
tickets.