Skip to content

Commit

Permalink
Clarify error message that user or pass elements must be provided
Browse files Browse the repository at this point in the history
  • Loading branch information
marisn committed Jan 15, 2024
1 parent e9e5e40 commit 6ffdfa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ mapcache_http* mapcache_http_configuration_parse_xml(mapcache_context *ctx, ezxm
if (!user_node || !pass_node) {
ctx->set_error(ctx, 400,
"both <http> <auth> username (<user>) and pasword "
"(<pass>) must be provided");
"(<pass>) elements must be provided");
return NULL;
}
credentials = apr_pencode_base64(
Expand Down

0 comments on commit 6ffdfa3

Please sign in to comment.