Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Parsing apostrophes in Mods control panel

  • 09-10-2001 9:23am
    #1
    Registered Users, Registered Users 2 Posts: 7,468 ✭✭✭


    Tried adding user Donal O'Carroll to a clan board and got the following message:
    There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

    An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

    We apologise for any inconvenience.


    Tried again with Philip O'Smith and got the same. All the other names were fine. I'd make an educated guess at the apostrophe causing the problem in the sql update/insert.
    Post edited by Shield on


Comments

  • Business & Finance Moderators, Entertainment Moderators Posts: 32,387 Mod ✭✭✭✭DeVore


    Ok, Donal is now added... yeah its a bug in the hack we've used, doesnt occur with the full blown admin side...

    Where did you get Philip O'Smith from hehe...

    DeV.


  • Registered Users, Registered Users 2 Posts: 654 ✭✭✭DS


    You can always just manually insert "\" before apostrophes, or insert addslashes ( ) into the hack where relevant.


  • Registered Users, Registered Users 2 Posts: 1,842 ✭✭✭phaxx


    oooo that's dangerous, that is...

    try adding a user called

    junk'); drop database <dbname>;

    :)


  • Registered Users, Registered Users 2 Posts: 654 ✭✭✭DS


    Yes! Get that addslashes ( ) in now!


Advertisement