Ticket #809 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

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

Change History

Changed 3 years ago by jng

  • owner set to jng

Changed 3 years ago by jng

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

Changed 3 years ago by jng

2nd revision of patch

Changed 3 years ago by jng

  • status changed from new to closed
  • resolution set to fixed

Fixed in r3759

Note: See TracTickets for help on using tickets.