Ticket #13107 (confirmed Bug)
Check code for obj.absolute_url_path(), many should probably be replaced by obj.getPhysicalPath()
Reported by: | kleist | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | General | Version: | 4.1 |
Keywords: | VHM | Cc: |
Description
As noted in https://dev.plone.org/ticket/8787#comment:21
obj.absolute_url_path()
is not robust against virtual hosting, and we should instead use
obj.getPhysicalPath()
When grep:ing the Plone code, I find quite a few usages of obj.absolute_url_path(). However, I'm not guru enough to decide if all of them should be replaced by obj.getPhysicalPath()...
More here:
Change History
Note: See
TracTickets for help on using
tickets.