mangle.Id should restrict Ids they way the 'add' screen describes it.
Bug #101800 reported by
Andy Altepeter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Silva |
Fix Released
|
Wishlist
|
Eric Casteleijn |
Bug Description
The add screen says no spaces are allowed, but mangle.Id._valid_id (even in
trunk) allows spaces so long as they aren't the first character.
I've applied this change to the Silva trunk, but it should probably be
backported to the other Silva releases (1.6, 1.5.10, other?)
Changed in silva: | |
milestone: | none → 1.6 |
To post a comment you must log in.
Trunk is still 1.6, so we only need to port it back to 1.5. I'll do
that. Thanks Andy. Allowing the spaces *was* a conscious decision at the
time, I believe, when Zope started allowing them in ids. I just believe
it was a very bad decision....