TeaSpeak
TeaSpeak copied to clipboard
Strip [IMG] from channel_description
On most servers channel descriptions are only disabled because they can be abused for ip grabbing via embedded images (ex: https://grabify.link/image/)
-
[x] To encourage serveradmins to allow channel descriptions again i would suggest adding a new permission called
b_channel_create_modify_with_imagesthat; if not granted replaces all\[[Ii][Mm][Gg]\],\[/[Ii][Mm][Gg]\]with[url]/[/url]everytime thechannel_descriptionis set/modified so all images become clickable links. That would mean the comeback of descriptions for guests :) -
[ ] In addition to that i am also thinking about a paranoid mode that replaces all
[url=<url>]<text>[/url]with[url]<url>[/url]in channel descriptions and chat messages/pokes with a attached permission calledb_client_mask_linkstho that may be a bit too much.
Implemented
b_client_use_bbcode_any, b_client_use_bbcode_url, b_client_use_bbcode_image
Can you explain them a bit more?
b_client_use_bbcode_any => use any bb codes
b_client_use_bbcode_url use the bb code [url]...[/url]
b_client_use_bbcode_image use the bb code [img]...[/img]