Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Negotiate' without blank #2

Open
fjf2002 opened this issue Jul 27, 2021 · 0 comments
Open

'Negotiate' without blank #2

fjf2002 opened this issue Jul 27, 2021 · 0 comments

Comments

@fjf2002
Copy link

fjf2002 commented Jul 27, 2021

On line 13, it is not really verified that the token 'Negotiate' is followed by a blank:

if (auth.lastIndexOf('Negotiate') !== 0) {

... but here it is assumed:

req.auth.token = auth.substring('Negotiate '.length);

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

No branches or pull requests

1 participant