fix "AUTH PLAIN [initial-response]" bug introduced in r1477
Igor Sysoev
14 years ago
294 | 294 | return NGX_ERROR; |
295 | 295 | } |
296 | 296 | |
297 | if (ngx_decode_base64(&plain, &arg[0]) != NGX_OK) { | |
297 | if (ngx_decode_base64(&plain, &arg[n]) != NGX_OK) { | |
298 | 298 | ngx_log_error(NGX_LOG_INFO, c->log, 0, |
299 | 299 | "client sent invalid base64 encoding in AUTH PLAIN command"); |
300 | 300 | return NGX_MAIL_PARSE_INVALID_COMMAND; |