Opened 13 years ago

Closed 10 years ago

#7935 closed defect (patchwelcome)

dojo._Url broken for more than two args

Reported by: Mike Wilson Owned by: James Burke
Priority: high Milestone: future
Component: Core 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 (3)

comment:1 Changed 13 years ago by Adam Peller

Owner: changed from anonymous to James Burke

comment:2 Changed 13 years ago by dante

Milestone: tbdfuture

comment:3 Changed 10 years ago by ben hockey

Resolution: patchwelcome
Status: newclosed

it seems nobody has taken on this task in 3 years. feel free to comment or open a new ticket.

Note: See TracTickets for help on using tickets.