[Twisted-Python] Woven trailing slashes

Andrew Bennetts andrew-twisted at puzzling.org
Tue May 13 21:41:01 EDT 2003


On Tue, May 13, 2003 at 06:25:37PM -0700, Donovan Preston wrote:
> 
> On Tuesday, May 13, 2003, at 06:08 PM, Eric Holm wrote:
> 
> >I just installed 1.0.5, and now my Woven pages are sent
> >to the browser with a trailing slash appended to the URL,
> >which breaks all of the relative links.
> >
> >How do I get rid of the trailing slash?
> 
> If you are subclassing Page, you can add a class attribute addSlash = 
> 0, like this:

[...etc...]

Please add this to the FAQ!

-Andrew.





More information about the Twisted-Python mailing list