Permalink
Browse files

RequestFactory: removed user & password from Url (BC break)

  • Loading branch information...
dg committed Feb 11, 2019
1 parent 4c4738c commit 840de35d493c39064a870005afaec8cdf5817641
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/Http/RequestFactory.php
@@ -65,8 +65,6 @@ public function createHttpRequest(): Request
// DETECTS URI, base path and script path of the request.
$url = new UrlScript;
$url->setScheme(!empty($_SERVER['HTTPS']) && strcasecmp($_SERVER['HTTPS'], 'off') ? 'https' : 'http');
$url->setUser($_SERVER['PHP_AUTH_USER'] ?? '');
$url->setPassword($_SERVER['PHP_AUTH_PW'] ?? '');
// host & port
if (

0 comments on commit 840de35

Please sign in to comment.