mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
7337f26d3a
jQuery uses encodeURIComponent, but also this line here: return s.join( "&" ).replace( r20, "+" ); https://github.com/jquery/jquery/blob/1.7.2/src/ajax.js#L797 This breaks when passing the result through $.path.addSearchParams(), which in turn uses jQuery.param - any '%20' would've been wrongly encoded as '+' by jQuery.serialise(), which in turn gets rightly encoded as '%2B' by jQuery.param(). This had the effect of breaking CMS searches with spaces in them. |
||
---|---|---|
.. | ||
dist | ||
lang | ||
src |