REST API AuthString: Password containing semicolon

Hello,

Is there any way to authenticate via AuthString if the password used contains a semicolon?

{"authString": "Module=RoleBasedPerson;User=yourUsername;Password=your;Password"}
We tried escaping and encoding the semicolon within the password, but so far we've not found a solution to this.
Parents Reply Children
  • Hello Markus,

    Excuse me but I'm not entirely sure what you mean.

    We have tried escaping the password the following way:

    {"authString": "Module=RoleBasedPerson;User=yourUsername;Password=\"your;Password\""} which not only does not seem to work but also make usually valid passwords (e.g. if the password was yourPassword without the semicolon) invalid. We've also tried escaping the double quotes by doubling them or even trying to escape the semicolon by doubling it but none of these sequences seem to work.

  • If Password is your;Password this should work.


    {"authString": "Module=RoleBasedPerson;User=yourUsername;Password="your;Password"}

    Or use

    {"authString": "Module=RoleBasedPerson;User=yourUsername;Password='your;Password'}