[ZCM] [ZC] 1543/ 1 Request "url traversal problem"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Mon Oct 18 22:26:07 EDT 2004


Issue #1543 Update (Request) "url traversal problem"
 Status Pending, Zope/test medium
To followup, visit:
  http://zope.org/Collectors/Zope/1543

==============================================================
= Request - Entry #1 by simongr on Oct 18, 2004 10:26 pm

 Its probably just me not understanding url traversal but here goes..
 My folder structure:
 Zoo -> Animals -> Hippo
 Vet ->General -> Fleas

 I have two types of vacination scripts
 Vet -> General -> vaccinate (General vaccination)
 Vet -> General -> Fleas -> vaccinate (Flea vaccination)

 Now I want to vaccinate my hippo for fleas by using the url:
 Zoo/Vet/General/Fleas/Animals/Hippo/vaccinate

 However my Hippo is given a general vaccination. Why is this?
 According to the zope book, the vaccinate script is search by backtracking along the url under
 Hippo, then Animals, then Fleas etc.
 
 If I remove the general vacination script then the correct flea    vaccination is given, however what if i don't want to remove the  general vaccination. 

 Please help flea vaccinate my Hippo. What url do I use? 
 Many thanks, Simon. 
==============================================================



More information about the Zope-Collector-Monitor mailing list