Discussions » Development

Algorithm help with CleanURLs

§
Posted: 2023-06-26

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: 2023-06-30
Edited: 2023-06-30

The more important matter is:

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

§
Posted: 2023-06-30
Edited: 2023-06-30

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

Post reply

Sign in to post a reply.