Ticket #3997 (closed bug: worksforme)
Address Rewriting Trailing Slash Bug in IE7
|Reported by:||vejsat||Owned by:|
|Keywords:||trailing, slash, ie7, url||Cc:|
Having a valid page url containing a trailing slash (quite common in content managed sites) creates the following error in IE7 when including JQuery :
'Line 1: Error: Syntax Error'
Remove the trailing slash '/' and it works fine.
Here's an example:
This causes the above error: http://www.somedomain.com/orders/
This works fine: http://www.somedomain.com/orders
My content management system can handle either format of url so it's not an issue for me. However, it might cause problems for other people using a CMS which adds a trailing '/' to each URL.
Forgive me if this has been logged already but I'm new to JQuery and thought I should mention it just in case.