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

X-Ovh-Signature only sent to /auth #16

Open
Haakjvork opened this issue Sep 10, 2016 · 1 comment
Open

X-Ovh-Signature only sent to /auth #16

Haakjvork opened this issue Sep 10, 2016 · 1 comment

Comments

@Haakjvork
Copy link

Requests are not signed because of Line 366 in ovh.es5.js :
if (path.indexOf('/auth') < 0) {

That 'if' shouldn't exist at all, right?

@tuarrep
Copy link

tuarrep commented Nov 10, 2016

@Haakjvork Nope it's the contrary
If /auth isn't in path path.indexOf('/auth') should return -1 so the condition is valid.
Thus all requests are signed except ones corresponding to /auth

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

2 participants