Commit ea2684d
committed
Fixed bug where white space caused incorrect header and body
White space is being used to decide which part of $response is to be in the HTTP header and body. However, if there was any further line breaks in the page being served, these caused anything else in the body to be ignored: in my case, there was a line break before the <body> tag, so only the <head>...</head> part of the HTML was served and a blank page was the result. I added a limit of 2 to explode() in order to make sure that ALL the remainder of the response would be in the body. This fixed the problem immediately.1 parent 9375cfc commit ea2684d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
0 commit comments