Jump to content
  • Whisper Database Log failes when whisper contains '

    • Status: Completed
      Main Category: Core / Mangos Daemon
      Sub-Category: Private Messaging
      Version: 0.20(currentmasterbranch) Milestone: 20-newbeginnings Priority: Normal
      Implemented Version: 0.20(currentmasterbranch)

    Whisper Database Log failes when whisper contains '

    If you activated the whisper logs in your config, and a players whispers something with an ' like "Don't go there!" it would throw an error in the console (world.log) and would not write the whisper into the Database.

    User Feedback

    Recommended Comments


    Switching to the prepared statement mechanic, rely on them for string escape, as decribed [URL="http://stackoverflow.com/questions/4532572/escaping-string-for-sql-in-c"]here (with a bit excessive work)[/URL]. Tested for different mixing of single and double quotes in a whisper.

    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use