Opened 14 years ago

Closed 14 years ago

#7936 closed defect (duplicate)

dojo._Url broken for more than two args

Reported by: Mike Wilson Owned by: anonymous
Priority: high Milestone: tbd
Component: General Version: 1.2.0
Keywords: Cc:
Blocked By: Blocking:


Two args ok:

new dojo._Url("", "..")

Three args broken:

new dojo._Url("", "..", "..")
-> ..

The reason seems to be the local variable first initialized as:

var uri = [_a[0]];

and then used in a different way later on, thereby corrupting state after the first iteration in the arguments loop.

Change History (1)

comment:1 Changed 14 years ago by Adam Peller

Resolution: duplicate
Status: newclosed

dup of #7935

Note: See TracTickets for help on using tickets.