MantisBT: master-2.25 c54a3794

Author Committer Branch Timestamp Parent
dregad dregad master-2.25 2022-05-13 09:24 master-2.25 b0b81e2b
Affected Issues  0030204: Create Permalink - special characters handling

Use filter key instead of URL to build permalink

Refactor permalink_page.php to accept a temporary filter key and
generate the URL from that, instead of receiving a fully-formed URL.

This prevents issues when the filter criteria contain a & (e.g. a
category named "a & b"), causing the value to be interpreted as 2
distinct parameters due to string_sanitize_url() decoding the %26
before processing the query string.

Fixes 0030204

mod - core/filter_api.php Diff File
mod - permalink_page.php Diff File