We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16096
    • 3 Posts
    at the registration a username with a german ß don’t blocked, i put it in the variable $illegals, but no effect.

    // Check username for bullshit.
    $illegals = array('.' , ',' , '/' , '\\' , '`' , ';' , '[' ,  ']' , '-', "'", '*', 'ß', '&', '^', '%', '$', '#', '@', '!', '~', '+', '(', ')', '|', '{', '}', '<', '>', '?', ':', '"', '='); 
    


    what is wrong?

    sorry for my bad english....
      • 10449
      • 956 Posts
      Is your modx installation using UTF-8? If you’re using another charset (e.g. ISO-8859-1), chances are there is some conversion going on behind the scenes, i.e. &szlig;
        • 16096
        • 3 Posts
        Yes my modx installation using UTF-8. But der was no other chance in use ascii-code or other. But Only the view of the users (&type=`users`) have a problem with the "ß" there come a modx database error. Modx dont´t have a problem with them. When i look at the security/webuser page in the manager, there are all users correct, even theres with the ß. The error also must in the users database of webloginpe?




        sorry for my bad english
          • 16096
          • 3 Posts
          Problem solved.
          For an german "ß" i must put "ß" in the badword-list then It works
          • There are a number of PHP functions that don’t work well (or at all) with UTF-8; this probably uses one of those functions.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org