You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/06/23 02:52:11 UTC

[GitHub] [couchdb] noahshaw11 commented on a change in pull request #3637: Remove case sensitivity for basic auth

noahshaw11 commented on a change in pull request #3637:
URL: https://github.com/apache/couchdb/pull/3637#discussion_r656720816



##########
File path: test/elixir/test/security_validation_test.exs
##########
@@ -12,19 +12,19 @@ defmodule SecurityValidationTest do
   @auth_headers %{
     jerry: [
       # jerry:mouse
-      authorization: "Basic amVycnk6bW91c2U="
+      authorization: "basic amVycnk6bW91c2U="
     ],
     tom: [
       # tom:cat
-      authorization: "Basic dG9tOmNhdA=="
+      authorization: "BAsIc dG9tOmNhdA=="
     ],
     spike_cat: [
       # spike:cat - which is wrong
       authorization: "Basic c3Bpa2U6Y2F0"
     ],
     spike: [
       # spike:dog
-      authorization: "Basic c3Bpa2U6ZG9n"
+      authorization: "BASIC c3Bpa2U6ZG9n"

Review comment:
       Interesting term haha. I will make this change.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org