Broken URLs with braces (spaces instead of braces)

Bug reports and enhancement requests
Post Reply
sustmi
Posts: 1
Joined: Fri Jun 03, 2011 9:47 am

Broken URLs with braces (spaces instead of braces)

Post by sustmi »

Hello.

With enabled NoScript I have problems with some special URLs.

For example:

Code: Select all

http://localhost/application/search/newdomain.com(olddomain.com)
The actual sent request URI is:

Code: Select all

/application/search/newdomain.com%20olddomain.com%20
It looks like NoScript translates braces to spaces in some URLs.

However URL like this (note the space between "old" and "domain"):

Code: Select all

http://localhost/application/search/newdomain.com(old domain.com)
is sent well as:

Code: Select all

/application/search/newdomain.com(old%20domain.com)
I use current stable version and also tried development version (2.1.1).
I have default settings only with enabled setting "Completely allow all JavaScript (dangerous)", the last option in tab "General" (not sure about the actual English name, because I use Czech translation).

Note: With disabled NoScript or disabled option "Completely allow all JavaScript (dangerous)" URLs works well.
Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
User avatar
Giorgio Maone
Site Admin
Posts: 9527
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Broken URLs with braces (spaces instead of braces)

Post by Giorgio Maone »

It's the XSS filter.
You can work around by adding the following line to your NoScript Options|Advanced|XSS exceptions box:

Code: Select all

^http://localhost/
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Post Reply