Skip to main content

Bug Tracker

Side navigation

#3997 closed bug (worksforme)

Opened January 26, 2009 06:02PM UTC

Closed October 13, 2009 01:05AM UTC

Last modified December 23, 2010 09:04AM UTC

Address Rewriting Trailing Slash Bug in IE7

Reported by: vejsat Owned by:
Priority: minor Milestone: 1.3.2
Component: unfiled Version: 1.3.1
Keywords: trailing, slash, ie7, url Cc:
Blocked by: Blocking:
Description

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.

Attachments (0)
Change History (3)

Changed January 27, 2009 03:11PM UTC by dz comment:1

This works in ie7 for me without errors:

http://jquery.nodnod.net/cases/66/

Changed October 13, 2009 01:05AM UTC by dmethvin comment:2

resolution: → worksforme
status: newclosed

Changed December 23, 2010 09:04AM UTC by to.yashin@gmail.com comment:3

Join us, this bug is observed in IE7

Присоединяюсь, данный баг наблюдается в IE7