File tree 2 files changed +10
-1
lines changed
Filter options
2 files changed +10
-1
lines changed
Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
=========
3
3
4
+ # 2.0.1 (2020-06-25)
5
+
6
+ * Don't normalize query string in PsrHttpFactory
7
+ * Fix conversion for HTTPS requests
8
+ * Fix populating default port and headers in HttpFoundationFactory
9
+
4
10
# 2.0.0 (2020-01-02)
5
11
6
12
* Remove DiactorosFactory
Original file line number Diff line number Diff line change @@ -48,9 +48,12 @@ public function __construct(ServerRequestFactoryInterface $serverRequestFactory,
48
48
*/
49
49
public function createRequest (Request $ symfonyRequest )
50
50
{
51
+ $ uri = $ symfonyRequest ->server ->get ('QUERY_STRING ' , '' );
52
+ $ uri = $ symfonyRequest ->getSchemeAndHttpHost ().$ symfonyRequest ->getBaseUrl ().$ symfonyRequest ->getPathInfo ().('' !== $ uri ? '? ' .$ uri : '' );
53
+
51
54
$ request = $ this ->serverRequestFactory ->createServerRequest (
52
55
$ symfonyRequest ->getMethod (),
53
- $ symfonyRequest -> getUri () ,
56
+ $ uri ,
54
57
$ symfonyRequest ->server ->all ()
55
58
);
56
59
You can’t perform that action at this time.
0 commit comments