• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

TWiki::Func::redirectCgiQuery did not support the pass through parameter, meaning that it was never possible to pass parameters across a redirect when invoking that through the Func API. This made this feature impossible, but many others also.

Suggest to change this API to

  • $query - CGI query object. Ignored, only there for compatibility. The session CGI query object is used instead.
  • $url - URL to redirect to
  • $passthrough - If set, passes all parameters that were passed to the current query on to the redirect target

by adding the final parameter. This change is necessary to utilize the changes made to the redirection mechanism in TWiki4, and also to address issues such as the critical Bugs:Item2614

This is an enhancement proposal, not a bug.


I think it is a bug in the plugin API because plugins cannot use $passthrough on redirect. That is a problem that prevents e.g., handling leases in plugins (independent of whether we use get/set lease or the more abstract checkTopicEditLock. -- TW

OK, if you can persuade the release team that it should go in, I won;t argue. Resetting to Actioning, as the analysis is clear. Just needs someone to do it.


Needed it, so i did it. new functionality, so marked Waiting for Release.


4.1.0 released


Summary Missing parameter in TWiki::Func::redirectCgiQuery
ReportedBy TWiki:Main.ThomasWeigert

SVN Range TWiki-4.1, Thu, 26 Oct 2006, build 11834
AppliesTo Engine

Priority Urgent
CurrentState Closed

Checkins 11900
TargetRelease minor
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r8 - 2007-01-16 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback