[TYPO3-Solr] Removed POST-Var Support?

Hendrik Nadler nadler at simplethings.de
Fri Oct 12 13:55:08 CEST 2012


(Im not Ingo, but) a search request is a read/retrieval operation and therefore must be GET. Otherwise it would not be chacheable. _GP is crap anyway... ;-)

Regards, Hendrik


-----Ursprüngliche Nachricht-----
Von: Heiko Kromm | Paints [mailto:h.kromm at paints.de] 
Gesendet: Freitag, 12. Oktober 2012 13:47
An: Apache Solr search for TYPO3 project
Betreff: Re: [TYPO3-Solr] Removed POST-Var Support?

Hi Ingo, 

before I made the update I used the searchform with method="POST". 
<form id="tx-solr-search-form-pi-results" action="###FORM.ACTION###" method="POST" accept-charset="###FORM.ACCEPT-CHARSET###">
This worked fine. 

In the initializeQuery-Function it is only checkd for GET-Parameters (t3lib_div::_GET($getParameterParts[0])). If I change this to t3lib_div::_GP($getParameterParts[0]), everything is fine again. 

It's no big deal to change all my forms to use method GET, but I'm curious, why the POST-Var support has been removed. 

Regards
Heiko 


More information about the TYPO3-project-solr mailing list