SmartLinkRemover icon indicating copy to clipboard operation
SmartLinkRemover copied to clipboard

WhiteList does not support URL Directions

Open crashzk opened this issue 5 years ago • 10 comments

Plugin is blocking all links, even though I put the link in WhiteList with flag.

I put a link so that only players with privileges are allowed to use, but even having privileges the plugin removes the nick link

No error in the server error log.

crashzk avatar Mar 20 '19 19:03 crashzk

Provide more information, like what they are setting it to and what the config has it set to.

MitchDizzle avatar Mar 20 '19 20:03 MitchDizzle

One of my privileged players has the following nickname: twitch.tv/rayanefps

I configured the SmartLink_whitelist.cfg file as follows:

"SmartLinkRemover Whitelist"
{
// "URL" "FLAGS"
"zkservidores.com" ""
"twitch.tv/rayanefps" "b"
}

Link zkservidores.com can use normally, without problem.

Now the twitch.tv/rayanefps link that needs the flag b even the player having privileges does not let you use URL Removed.

We have already tried to put the nick and config in the following ways:

https://www.twitch.tv/rayanefps
http://www.twitch.tv/rayanefps
https://twitch.tv/rayanefps
http://twitch.tv/rayanefps
twitch.tv/rayanefps
www.twitch.tv/rayanefps

None of them works if you put flag.

crashzk avatar Mar 20 '19 20:03 crashzk

Any news on that? You still have the problem with WhiteList.

crashzk avatar Mar 21 '19 22:03 crashzk

Give it a go with just twitch.tv in your config file and let me know if that works. Perhaps the / could be throwing things off but I'm really not sure.

B3none avatar Mar 25 '19 18:03 B3none

@b3none sorry for the delay, I came back now and tested it thoroughly.

I configured SmartLink_whitelist.cfg as follows:

"SmartLinkRemover Whitelist"
{
	"zkservidores.com"									""
	"twitch.tv"											"a"
	"youtube.com"										"a"
}

Nicknames with link zkservidores.com all can use without problem, so far so good.

However the other links that I set up with flags, even though the players have privileges he can't use, the plugin removes the link.

I took a print of the BUG: Screenshot_1

What I also realized, I have root access, I can use links without problems, but if the player has no root he can not use it, as you can see in the print.

Twitch link you tried to use would be this: twitch.tv/dolin03110

What could be, some config error even on my part? Would you really be a BUG?

I'm waiting, thanks in advance!

@Totenfluch

crashzk avatar Feb 19 '20 18:02 crashzk

Any chance of fixing this problem?

crashzk avatar Mar 15 '20 06:03 crashzk

I would also like to know if the plugin is still supported. I have the same problem as the crashzk user

freakexeuLow avatar Mar 17 '20 11:03 freakexeuLow

Basically whitelist not working for common URLs like "twitch.tv", "youtube.com", "facebook.com"? I want them to allow without any flags.

"SmartLinkRemover Whitelist"
{
        "twitch.tv"     ""
        "mixer.com"     ""
        "youtube.com"   ""
        "dlive.tv"      ""
        "facebook.com"  ""
        "fb.com"        ""
}

It's not working, the twitch.tv/kisoli01 name became just twitch twitch.tv/sleepyay also became twitch

borzaka avatar Mar 31 '20 16:03 borzaka

According to the plugin code: https://github.com/Totenfluch/SmartLinkRemover/blob/9978991b12aee62cd4e087de227d569b9c2651c0/scripting/SmartLinkRemover.sp#L161 We have a CVAR to control the immunity sm_smartlinkremover try to add it to the overrides and see if it resolves.

However, with that every player with the privileges is immune to using any link in the nickname.

crashzk avatar Apr 13 '20 20:04 crashzk

Any news about this BUG?

Config file SmartLink_whitelist.cfg still does not work, players with privileges and with access to certain links cannot use it, it is still removed.

crashzk avatar Mar 05 '21 20:03 crashzk