Log message for revision 70153: Issue #2117: Don't choke on '+' path element in unrestrictedTraverse.
Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/OFS/Traversable.py -=- Modified: Zope/branches/2.10/doc/CHANGES.txt =================================================================== --- Zope/branches/2.10/doc/CHANGES.txt 2006-09-13 15:23:50 UTC (rev 70152) +++ Zope/branches/2.10/doc/CHANGES.txt 2006-09-13 16:16:02 UTC (rev 70153) @@ -8,6 +8,9 @@ Bugs fixed + - Collector #2117: Don't choke in 'unrestrictedTraverse' for '+' + path elements. + - Collector #2185: Log username for FCGI requests. - Collector #2152: Fixed MailHost documentation; simple_send does not Modified: Zope/branches/2.10/lib/python/OFS/Traversable.py =================================================================== --- Zope/branches/2.10/lib/python/OFS/Traversable.py 2006-09-13 15:23:50 UTC (rev 70152) +++ Zope/branches/2.10/lib/python/OFS/Traversable.py 2006-09-13 16:16:02 UTC (rev 70153) @@ -186,7 +186,7 @@ bobo_traverse = getattr(obj, '__bobo_traverse__', None) try: - if name and name[:1] in '@+': + if name and name[:1] in '@+' and name != '+': # Process URI segment parameters. ns, nm = nsParse(name) if ns: _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins