Remove trailing slashes from URLs in Tuxedo

RESOLVED FIXED

Status

Webtools
Bouncer
--
enhancement
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: fox2mike, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
The current version of bouncer just appends a / to the URL, so if an URL is input as x.y.com/ the final "bouncered" URL becomes xy.com//foo which isn't nice.

Would be awesome if tuxedo cleaned this up and automatically strips trailing slashes if any when new mirrors are added.
I added a warning to the admin interface: http://github.com/fwenzel/tuxedo/commit/c349c4cfb599c4bb3356f45299d1ad90703330d5

I didn't want to automatically mess around with people's URLs so we don't cause problems if people know what they are doing.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.