i have a view method that expects a <path:> parameter ::

  @expose( '/find/<path:q>' )
  def find( request, q = '' ):

where [EMAIL PROTECTED] is essentially the decorator method defined in
``werkzeug/examples/shorty/utils.py``. now according to the docs,
``q`` should match any route, including one with slashes, and it
does---except when two or more slashes follow each at the end of the
URL other without any intervening material, meaning that ::

  http://xxx/find/foo/bar/baz

and ::

  http://xxx/find/foo/

and even ::

  http://xxx/find/foo//bar

work as advertised, but ::

  http://xxx/find/foo//

fails with an HTTP 404. i haven't found a way to fix that. any
suggestions?

cheers & ~flow



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to