CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #6827

Error in query generation with facetts having " in name

Added by Schmidt Timo about 3 years ago. Updated about 1 year ago.

Status:Closed Start date:2010-03-15
Priority:Should have Due date:
Assignee:Ingo Renner % Done:

100%

Category:Queries
Target version:2.0
TYPO3 Version: Has patch:
PHP Version: Tags:
Votes: 0

Description

When you generate an url to add a facett containing " . The facetting query will not be generate proper. because " is the limiter of the facett. I've attached a patch which apply addslashed before encoding and stripslashes after encoding, to escape these chars within the facet query parameters.

urlencode-patch.patch (898 Bytes) Schmidt Timo, 2010-03-16 13:54

History

Updated by Schmidt Timo about 3 years ago

I still had some problems with the attached patch. The problem can be solved easier by just calling addslashes on the query arguments before sending it to solr in addFacetQueryFilters(). I've attached a new version of the patch.

Updated by Schmidt Timo about 3 years ago

  • File deleted (urlencode-patch.patch)

Updated by Ingo Renner about 3 years ago

  • Assignee changed from Ingo Renner to Schmidt Timo

Timo, please don't assign issues to other people without their consent

Updated by Ingo Renner almost 3 years ago

didn't we fix this already?

Updated by Ingo Renner over 2 years ago

Timo, is this still valid?

Updated by Olivier Dobberkau over 1 year ago

  • Status changed from New to Needs Feedback
  • Assignee changed from Schmidt Timo to Ingo Renner

Hi Ingo what is the status here?

Updated by Ingo Renner over 1 year ago

  • Category set to Queries
  • Status changed from Needs Feedback to Resolved
  • Target version set to 2.0
  • % Done changed from 0 to 100

Fixed in r43964

Updated by Ingo Renner about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF