Skip to content

Commit bbd9753

Browse files
Remove incorrect URL validation (fixes #85) (#86)
* Remove incorrect URL validation (fixes #85) If enough deltalinks are called, this check will eventually fail as a case insensitive 'http' will appear in the string. We should be doing this check in the cstor. * Bumped semver from 1.3.0 to 1.3.1 for bug fix.
1 parent 18e419a commit bbd9753

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/Core/GraphConstants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ final class GraphConstants
2424
const REST_ENDPOINT = "https://graph.microsoft.com/";
2525

2626
// Define HTTP request constants
27-
const SDK_VERSION = "1.3.0";
27+
const SDK_VERSION = "1.3.1";
2828

2929
// Define error constants
3030
const MAX_PAGE_SIZE = 999;

src/Http/GraphRequest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,6 @@ private function _getDefaultHeaders()
415415
*/
416416
private function _getRequestUrl()
417417
{
418-
//Send request with opaque URL
419-
if (stripos($this->endpoint, "http") !== FALSE) {
420-
return $this->endpoint;
421-
}
422418
return $this->apiVersion . $this->endpoint;
423419
}
424420

0 commit comments

Comments
 (0)