create new tag
, view all tags


Dear community,

I read through the CGI scripts documentation and noticed that passing 'anyname=somevalue' in URLs is explicitly allowed for edit.pl HTTP requests, but is not mentioned to be allowed for view.pl.

I tested this with view.pl and noticed that any parameter that I passed in was nicely replaced (using %URLPARAM{"anyname"}%) in the topic.

Is this a bug or by design (I really hope it is by design!)

If it's by design, would it be possible to add this to the documentation.

This lets me pre-fill topic form fields with data, in my case, on a URL unblocking request form that is presented to my users whenever they try to visit a blocked URL.


TWiki version: TWikiRelease04x02x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: W2K SP4
Web server: Apache2
Perl version: AS 5.8.8
Client OS: WinXP
Web Browser: IE6, IE7, FF3.01
Categories: Documentation

-- PatrickDalinghoff - 25 Sep 2008


ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

I would have hoped that the docco for VarURLPARAM would suggest that it was for all scripts (as is intended)

-- SvenDowideit - 25 Sep 2008

Seems to be answered.

-- SeanCMorgan - 27 Sep 2008

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-09-27 - SeanCMorgan
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.