Bug 210222 - Make getURL smarter and not drop the leading # if the next character is "unsafe".
r=rginda@hacksrus.com git-svn-id: svn://10.0.0.236/trunk@153792 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
82c306699d
commit
a23d90839d
@ -1965,7 +1965,7 @@ CIRCChannel.prototype.getURL =
|
||||
function chan_geturl ()
|
||||
{
|
||||
var target;
|
||||
if (this.normalizedName[0] == "#")
|
||||
if (this.normalizedName.match(/^#[^!+&]/))
|
||||
target = ecmaEscape(this.normalizedName.substr(1));
|
||||
else
|
||||
target = ecmaEscape(this.normalizedName);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user