[TYPO3-core] RFC: Feature Request 4790: typolink.addQueryString - enable usage of merged POST and GET data

Oliver Hader oh at inpublica.de
Wed Jan 24 14:11:31 CET 2007


Commited to Trunk.

olly


Oliver Hader wrote:
> This is a SVN patch request.
>
> Problem:
> On creating a link using TS typolink both methods - GET and POST -
> cannot be reused with addQueryString. It's only possible to use one of
> them - GET or POST.
> When using simulateStaticDocuments the QUERY_STRING variable is empty,
> so that doesn't help at all.
>
> Solution:
> Allow two new properties for addQueryString: "POST,GET" and "GET,POST"
> The sequence defines how data should be merged. "POST,GET" fetches first
> POST and GET overwrites duplicates. Vice versa for "GET,POST"
> (please see also the attached sample file).
>
> Documentation changes:
> Section 5.8, property "addQueryString", to end of ".method" paragraph:
> It's possible to get both, POST and GET data, on setting this to
> "POST,GET" or "GET,POST". The last method in this sequence takes
> precedence and overwrites the parts that are also present for the first
> method.
>
> Bugtracker reference:
> http://bugs.typo3.org/view.php?id=4790
>
> Branch:
> Trunk
>
>
> olly


More information about the TYPO3-team-core mailing list