-
Notifications
You must be signed in to change notification settings - Fork 110
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
Check for graph.windows.net sounds bogus #65
Comments
Yes you are absolutely right, could you please make a pull request to fix this? |
I can for the condition. But I am not sure what is the supposed way to build the |
I will check on that and get back to you. |
My guess that the following line is missing in the branch:
|
I have merged the PR. I will be releasing it as 1.4.1 shortly. Thanks for the PR! |
Hi, could you release the v1.4.1 update? We've just updated from 1.3 in our dev and it's stopped working due to this bug! |
Hi, I have just released 1.4.1. |
Azure.php:186 contains the following check:
As of PHP Docs, the
strpos
returns eitherFALSE
orunsigned int
. It never specifically returnsTRUE
.Instead, I would expect the condition to be
but I am not sure yet what the code is supposed to do.
It is also strange that if the condition would evaluate to true, the
$url
is alwaysnull
so the conditionstrrpos($url, "?") === false
on line 193 always passes. As such, the completeurl
that the branch generates is?api-version=1.6
(it completely ignores and missed thetenant
andref
parts which is strange).The text was updated successfully, but these errors were encountered: