Question
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.
Environment
--
PatrickDalinghoff - 25 Sep 2008
Answer
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