Simple Whitelist is case sensitive.
MitchDizzle opened this issue · comments
Not sure how I want to approach this, but if the whitelist is for "google.com" and having "Google.com" in their name it will still be removed. This isn't much of an issue if you want to specifically set a clan's url to a certain style.
Operating normally: http://prntscr.com/n0nsq4
Almost closed this issue, but remembered that this issue isn't about the regex, it's about the keys used to look it up:
https://github.com/Totenfluch/SmartLinkRemover/blob/master/scripting/SmartLinkRemover.sp#L179
I guess the proposed change would be to convert the key to lower case, and when looking up a key to also convert that to lowercase.
Jup. Converting all to lowercase and then comparing this would be my solution here