Permalinks case problem
3 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: October 17, 2017 (RSS)
By jenolan - October 12, 2017
Just spent an age working out why a permalink prefix was saying it was missing when it wasn't, part of the plugin processing sets the permalink to lower case and then compares the required prefix, fine so far but the check doesn't ensure that the original prefix is set to lower case.
So if you set the required prefix to 'Activity/' the comparison is never going to succeed!
Peace and Long Life
By Dave - October 17, 2017
Hi Larry,
Thanks for the bug report! I'll have to think on the best fix for that. What are your thoughts? Should be lowercase the prefix before we display it? My concern with allowing mixed case is it's not portable (some servers are case-sensitive and some aren't).
interactivetools.com
By jenolan - October 17, 2017
Good Moaning,
All that should happen if lower case is the need is to also lowercase the prefix so that you don't get stuck if the prefix is 'Hello' and you put 'Hello' the code lower cases one but not the other!
Larry
Peace and Long Life