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

Oliver Hader oh at inpublica.de
Tue Jan 23 13:16:12 CET 2007


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004790.patch
Type: text/x-diff
Size: 676 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070123/95a81155/attachment.bin 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0004790.sample.txt
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070123/95a81155/attachment.txt 


More information about the TYPO3-team-core mailing list