KEMBAR78
HTTP Basic Auth should always add : between username and password even if empty by hardillb · Pull Request #3236 · node-red/node-red · GitHub
Skip to content

Conversation

@hardillb
Copy link
Member

fix for #3235

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

Make sure that : is always between the username and password for basic auth and not just if a password is present.
This appears to be inline with the rfc https://datatracker.ietf.org/doc/html/rfc2617#page-5

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run grunt to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

@knolleary knolleary merged commit e6de52e into node-red:master Oct 28, 2021
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 67.37% when pulling b77a2dc on hardillb:http-basic-username-only into cfe201d on node-red:master.

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.

3 participants