Bug Tracker

Modify

Ticket #3997 (closed bug: worksforme)

Opened 4 years ago

Last modified 2 years ago

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:
Blocking: Blocked by:

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.

Change History

comment:1 Changed 4 years ago by dz

This works in ie7 for me without errors:

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

comment:2 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to worksforme

comment:3 Changed 2 years ago by to.yashin@…

Join us, this bug is observed in IE7

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.