On Mar 19, 12:18 pm, Mark Ramm <[email protected]> wrote:
> Yes, you can make it work correctly.   Just Always include the trailing slash!
>
> That's the way URL's work, the trailing slash has meaning, and that
> meaning is respected by the URL rewriter in tg2, where it was not in
> tg1.

Sure, but the problem is that incoming URLs are out of my control. For
incoming URLs elsewhere on the site, I can try and be careful about
it, but it's easy to get it wrong and - since the resource is still
served and will look ok - not realise that it's wrong until I try some
link on that resource which then does the wrong thing. For external
URLs linking into my site, I can't do much about them - if 'index' and
'index/' go to the same controller then relative links will be broken
for one of the two. I'd really just like to be able to serve up a 404
(or a redirect) for the wrong one.

--
Ben Sizer

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to