- last update
about 1 year ago 7 pass - last update
about 1 year ago 7 pass - last update
about 1 year ago 7 pass - last update
about 1 year ago 7 pass - 🇨🇦Canada joseph.olstad
This makes a lot of sense to me.
I think this should go into a new branch though, marking a new era of facets_pretty_path. - Status changed to Fixed
about 1 year ago 1:52pm 9 September 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
9 months ago 11:20am 15 February 2024 - 🇩🇰Denmark ressa Copenhagen
Thanks for fixing this @chrisolof. I have run into an odd problem with Range Slider, which uses special characters such as
(),:
where 🐛 URL encoded only works right after saving Active .I tried experimenting with this, which worked somewhat:
public function encode($id) { $find = ['/', ',', ':']; $replacement = ['--slash--', '-to-', '-val-']; return rawurlencode(str_replace($find, $replacement, $id)); } [...] public function decode($alias) { $find = ['--slash--', '-to-', '-val-']; $replacement = ['/', ',', ':']; return str_replace($find, $replacement, rawurldecode($alias)); } }
Shown in address bar:
https://example.org/kort/hou/(min-val-4000-to-max-val-32000)
Copied to editor:https://example.org/kort/hou/%28min-val-4000-to-max-val-32000%29
But it doesn't seem like the right solution. And as I write in the other issue ( 🐛 URL encoded only works right after saving Active ) it actually works perfectly right after saving, strangely.