Discussions » Development

Algorithm help with CleanURLs

§
Posted: 26/06/2023

Hello,

I've recently found a case with Clean URL Improved in which a CMS uses parameter sid for posts.

Parameter sid is listed in the blacklist and therefore the program interrupts expected experience.

In this case, I need to add settings to the program and let people to decide what is to be whitelisted and blacklisted in accord to their personal conviction.

I need help in:

  • Look at the code and tell what is wrong and what can be improved.

  • What would be a better fashion to apply custom whitelist/blacklist.

I was thinking of this:

URL Parameters Whitelist Parameters Blacklist
greasyfork.org ['sid', 'id'] ['ref']

Please help.

Thank you

§
Posted: 30/06/2023
Edited: 30/06/2023

The more important matter is:

What would be a better fashion to apply custom whitelist/blacklist?

§
Posted: 30/06/2023
Edited: 30/06/2023

Google a pictures of these libraries results for better understanding of what are they doing

Post reply

Sign in to post a reply.