Zope allows object ID with a trailing space character

Bug #1018010 reported by Mike Rhodes
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zope 2
Invalid
Undecided
Unassigned

Bug Description

Zope allows a trailing space to be used for object names. In particular, this allows you to create URLs which are very difficult to share as auto-hyperlinking will discard the trailing space. It's also almost impossible to transcribe them.

Revision history for this message
Richard Mitchell (mitchellrj) wrote :

It's also worth noting that OFS.ObjectManager.check_id also permits trailing hash (pound, #) characters, which could limit their linkability, as many uses (such as OFS.Traversable.absolute_url) would not convert to percent-encoded URLs for correct access.

Changed in zope2:
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

The zope2 project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope2.

Changed in zope2:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.