sunspot/sunspot — pull request #259 by rywall (2012-07-13 18:50:33+00:00)
Title: Don't escape facet prefix

Although query params require escaping, facet prefix params do not, and will prevent matching in situations where characters do get escaped. Adds the regression specs that #169 was missing.

Prefix escaping was added in [this commit](https://github.com/sunspot/sunspot/commit/17b94682e99746f0e74a56ecad5145692ba4c6ee) 2 years ago. I'm not sure why it was added but the tests demonstrate that it is broken. Maybe an older version of solr worked this way?