-
-
Notifications
You must be signed in to change notification settings - Fork 359
Description
In version 0.9.17:
$server->register("validate_login", //method
array("user" => "xsd:string"),
array("return" => "xsd:string"),
"urn:AuthenticateUserString",
"urn:AuthenticateUserString#validate_login");
if the string in "user" contains a vertical bar, | , the rest of the string gets dropped.
For instance, a string like "myhair|black", as soon as it comes into a method, gets dropped to "myhair".
If instead of "myhair|black" I use "myhair&black", the string gets into my method without any changes, the way I want it.
I can see that in function addOperation, the second argument is $in, which contains the input.
Of course, the easiest solution would be to change the way "user" comes in the server. However, that input is coming from an mobil phone app and it would be cumbersome to change the code in the app, android and iOS. So, I was wondering if there is an easier way to fix it in this end.
Anybody has some ideas on where this issue could be found?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status