Skip to content

Commit

Permalink
ensuing that authorization.basic.param will be output as empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmcgrew committed Dec 11, 2024
1 parent 07b0893 commit e466b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libmerc/http_auth.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class authorization {
bearer_token{auth_param}.write_json(scheme_json);

} else {
scheme_json.print_key_json_string("param", auth_param);
scheme_json.print_key_json_string("param", auth_param.data, auth_param.length());
}
scheme_json.close();
auth_json.close();
Expand Down

0 comments on commit e466b4b

Please sign in to comment.