Spaces in authentication string for yaz-client
Opened this issue · 0 comments
dd217 commented
Hello,
I'm working with a vendor that has a z39.50 target that requires a password. The password we were given by the vendor contains a space. My expectation was that the the code to parse the authentication string would respect single or double quotes so that a password could contain a space. Looking at nmem_strsplit_blank
in nmemsdup.c, which is called for tokenizing the authentication string into the username and password, it looks like we're just splitting on any space regardless if part of a string was put in quotes.
Is this something that should actually be addressed, or is this outside the spec of z39.50/ZOOM.