Previous Thread
Next Thread
Print Thread
Hop To
#45985 01/27/2006 1:52 AM
Joined: Dec 2005
Posts: 4
M
stranger
stranger
M Offline
Joined: Dec 2005
Posts: 4
In the function is_reserved() in ubbt.inc.php there is this line:

$rname = preg_quote($rname,"/");

And it seems to me that this makes it impossible to use wildcards in the reserved name list. The documentation of the feature on the control panel reads:


Use (.*?) for wildcard matches. Example:
bob(.*?) matches any name starting with bob.


It seems like the example is wrong, or hard to understand exactly what you're supposed to type to get this to work. After removing the preg_quote line, the reserved name list becomes a list of regular expressions to deny. Otherwise, I don't understand how to use wildcards. Is the existance of the preg_quote line a bug?

Joined: Jun 2006
Posts: 182
A
member
member
A Offline
Joined: Jun 2006
Posts: 182
Seems so.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Can no longer log in as admin or user
by maria - 01/10/2026 11:00 AM
E-Mail & Unicode / UTF8 encoding problems
by Michael_E6D9 - 01/08/2026 2:14 AM
Upgrading from 7.7.5 to 8.0.1
by Morgan - 01/07/2026 5:25 AM
Take this for what it's worth
by Baldeagle - 12/26/2025 6:00 PM
innodb_buffer_pool_s
ize = 8G

by Baldeagle - 12/25/2025 3:32 PM
Who's Online Now
0 members (), 4,638 guests, and 131 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
test
test
by Gizmo, August 20
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)