Bug #37160
RealUrl bug in combination with the pagebrowser and facettes
| Status: | New | Start date: | 2012-05-14 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| TYPO3 Version: | Has patch: | |||
| PHP Version: | Tags: | |||
| Votes: | 0 |
Description
If you want to use realurl to make your facette parameters less verbose and more readable, you will run into troubles. The generated facette options are encoded twice, but if they are used on the pagebrowse links only once. Unfortunatly I didn't found a proper solution, but to disable the postVarSets rewrite for the filter options. The encoding issue described above remains, but it works instead to fail badly.
RealUrl configuration:
'postVarSets' => array (
'_DEFAULT' => array (
'sword' => array(
array(
'GETvar' => 'tx_solr[q]',
),
),
'page' => array(
array(
'GETvar' => 'tx_solr[page]',
),
),
'filter1' => array(
array(
'GETvar' => 'tx_solr[filter][0]',
),
),
'filter2' => array(
array(
'GETvar' => 'tx_solr[filter][1]',
),
),
),
)
Partly unrelated: I would propose that you should use rawurlencode/rawurlencode in all cases instead of urldecode/urlencode, because the "raw" version is more standard compliant.
History
Updated by Ingo Renner 11 months ago
- Target version set to 2.2
Updated by Ingo Renner 11 months ago
- Target version deleted (
2.2)
Updated by Ingo Renner 11 months ago
changed the urlen/decode function calls to the raw versions