Skip to content

Allow basic authorization with empty password#151

Open
dvorkanton wants to merge 1 commit intoezhov-evgeny:developfrom
dvorkanton:patch-1
Open

Allow basic authorization with empty password#151
dvorkanton wants to merge 1 commit intoezhov-evgeny:developfrom
dvorkanton:patch-1

Conversation

@dvorkanton
Copy link

This fixes the issue that I ran into, trying to access a NextCloud public share. According to documentation, when accessing a public share, you need to use the share token as username, and no password is required.

Because of this check, basic authorization wasn't used when empty password is specified, and I was getting a 401 NotAuthenticated exception. I could work around the bug setting a random password, but I feel like a proper fix is in order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant