Opened 16 years ago

Closed 16 years ago

#809 closed defect (fixed)

Allow the task pane initial url to have parameters

Reported by: jng Owned by: jng
Priority: medium Milestone:
Component: AJAX Viewer Version: 2.0.1
Severity: major Keywords:
Cc: External ID:

Description

The current task pane "hard-codes" the initial url given with a set of predefined parameters.

So given a url of "/foo/bar.php", the resulting url is:

/foo/bar.php?SESSION=someuglylongsessionid&WEBLAYOUT=Library://Path/To/The.WebLayout&DWF=0&LOCALE=en

But say I want to supply a url with parameters "/foo/bar.php?snafu=0", I will get the following url:

/foo/bar.php?snafu=0?SESSION=someuglylongsessionid&WEBLAYOUT=Library://Path/To/The.WebLayout&DWF=0&LOCALE=en

Note the two "?" characters in the query string. Thus passing in an initial url with additional GET parameters, will trip up any page in the task pane that is expecting these additional GET parameters.

Attachments (2)

809.patch (6.3 KB ) - added by jng 16 years ago.
Patch for taskframe template and php/java/.net viewers
809v2.patch (6.7 KB ) - added by jng 16 years ago.
2nd revision of patch

Download all attachments as: .zip

Change History (4)

comment:1 by jng, 16 years ago

Owner: set to jng

by jng, 16 years ago

Attachment: 809.patch added

Patch for taskframe template and php/java/.net viewers

by jng, 16 years ago

Attachment: 809v2.patch added

2nd revision of patch

comment:2 by jng, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in r3759

Note: See TracTickets for help on using tickets.