The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
You can create users with spaces
#1
I'm recently realizing that there is no validation when inserting a new record, you can include spaces in the username and inserted as such in the database.

As I can temporarily fix this?
  Reply
#2
There is no validation on inserting new users in the database in the back end because you are the administrator so you can do what ever you want. You can add the validation script that is on the join.php form if you want it. There's also not technically a problem with spaces in a username.

Note that if we're using Input::get for grabbing the form information, that it is being sanitized against sql injections.
  Reply
#3
ok I understand, thank you very much for the answer, it never hurts to clarify doubts hehe. Regards!
  Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)