The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Restrict Thread Titles to Alpha-Numeric only
I'm looking for a MOD that restricts Thread Titles to ONLY alpha (a-z (upper/lower)) and/or numeric (0-9) characters. Why? To prevent the creation of potential SQL injection strings.
We use ZB Block on our Forum, and it's been tremendously effective in keeping spam and spammers out. However, many of our members create Thread Titles using error output (as that's the problem they want to address). Sometimes these titles can be seen by ZB Block (via external search (and on rare occasion, internal search) queries, or by Moderator/Administrator merge actions, as SQL Injection attempts. By restricting Thread Title characters to alpha-numeric only, we avoid this potential problem. |
#3
|
||||
|
||||
Downloaded and installed. Will test it and report back.
|
#4
|
||||
|
||||
Well, my first test post allowed non-alphanumeric characters in the Thread Title.
|
#5
|
||||
|
||||
This is what I get if I try to save/edit a post/thread to use a title having non-alphanumeric characters in the title:
I'd have to come to your site with an admin account to figure out why it's not working on your site. SO, if you so desire, send by PM the login credentials to an admin account on your site and I'll see if I can find out why. |
#6
|
||||
|
||||
Thank you for your assistance, both in making this MOD (Plugin) and for helping to troubleshoot why it isn't working "here".
For others reading this, I tested this MOD using Apple's Safari browser on my iMac running macOS Sierra (latest/greatest, fully up to date). Using Safari, Thread Titles allows non-alphanumeric characters. But, using Firefox on my Linux OS laptop, this MOD works as designed. So, Safari chooses 'not to play well with others' it seems. |
#7
|
||||
|
||||
Yes, Safari is one of a few browsers that don't yet support form validation it seems. So, I'll add a fallback method of some sort and post back when I have something for you to test.
|
#8
|
||||
|
||||
I have posted an update to this product here:
Thread/Post Title Characters I've cited you as a co-author since this was your idea/request. |
#10
|
||||
|
||||
Tested in our Forum using Apple Safari browser. It works! :happy_dance:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|