Merge branch 'uri_decode_in_zms' into storageareas

This commit is contained in:
Isaac Connor 2017-03-20 15:13:19 -04:00
commit 0a1b2eab01
1 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ int main( int argc, const char *argv[] )
else if ( config.opt_use_auth ) {
if ( strcmp( config.auth_relay, "none" ) == 0 ) {
if ( !strcmp( name, "user" ) ) {
username = value;
username = UriDecode( value );
}
} else {
//if ( strcmp( config.auth_relay, "hashed" ) == 0 )
@ -160,7 +160,7 @@ int main( int argc, const char *argv[] )
//else if ( strcmp( config.auth_relay, "plain" ) == 0 )
{
if ( !strcmp( name, "user" ) ) {
username = UriDecode(value);
username = UriDecode( value );
}
if ( !strcmp( name, "pass" ) ) {
password = UriDecode( password );