Is there any way to remove the trailing slash that is automatically added to urls such as this http://example.com

Currently when I try to link to a URL that doesn't have a trailing slash one is added.

For example http://www.example.com becomes http://www.example.com/

This normally wouldn't be an issue but our website has some websites that need to link directly to the .com url to be authorized for use.

Any suggestions on where in this module I might look to add an exclusion for a few links?

Comments

anrikun’s picture

Title: Remove trailing forward slash '/'? » Automatically remove trailing forward slash '/'
Version: 6.x-2.8 » 6.x-2.x-dev
Category: support » feature

When someone copy and paste a URL from the browser address bar, a trailing slash is often present.
It would be great if Link could automatically remove it.

DamienMcKenna’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Thank you all for your efforts, but I'm sorry to say that the D6 version is no longer supported.