PITS /
01492: Many documentation links need fixed
Summary: Many documentation links need fixed
Created: 2023-09-02 17:51
Status: Open
Category: Documentation
From: a-xn
Assigned:
Priority: 5
Version: 2.3.25
OS: Arch Linux/Nginx/8.1
Description: Many of the documentation links included in the PM Wiki install need to be fixed.
For example, in PmWiki.Categories:
Bad Link:
https://www.pmwiki.org/wiki/Cookbook/Subgroup%20Markup
Fixed Link:
https://www.pmwiki.org/wiki/Cookbook/SubgroupMarkup
The link does not work until %20 is removed.
Thanks for the report, it appears that a server upgrade now needs updated rewrite rules for URLs that contain spaces. I think I fixed these cases, but if I missed some, please let me know. --Petko
For information, I replaced this line in .htaccess
:RewriteRule ^wiki/([A-Z0-9\xa0-\xff].*)$ index.php?n=$1 [QSA,L]
with this one (added "B," flag before "QSA"):RewriteRule ^wiki/([A-Z0-9\xa0-\xff].*)$ index.php?n=$1 [B,QSA,L]