Skip to content

Commit

Permalink
fix: allow colons in basic auth password
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkAtra committed Jun 1, 2024
1 parent dc2bbd3 commit f9d6f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private PluginConfig ParsePluginConfig() {

var basicAuthUsers = new List<BasicAuthUser>();
foreach (var basicAuthUser in _basicAuthUsers.Value.Split(",")) {
var parts = basicAuthUser.Split(":");
var parts = basicAuthUser.Split(":", 2);
if (parts.Length == 2) {
basicAuthUsers.Add(
new BasicAuthUser(
Expand Down

0 comments on commit f9d6f7c

Please sign in to comment.