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
  • A quick Google search for escaping passwords in connection strings (that's the syntax you are looking at) reveals. that you can:

    1. Surround the password with double quotes
    2. Escape double quotes as ""

     

     

  • 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.

Reply
  • 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.

Children