Lapinskas / roadrunner-ubiquity

RoadRunner and Ubiquity integration
MIT License
9 stars 3 forks source link

Wrong header parser on response. Location header missing #26

Closed soceans02 closed 4 years ago

soceans02 commented 4 years ago

In https://github.com/Lapinskas/roadrunner-ubiquity/blob/f8b0946167834bb73b163121bc5ddc0dd6f0ac79/src/Request.php#L93 split function using ":" separator makes some headers incomplete, e.g.: "Location" header

    header('Location: http://www.example.com/');

After request header parsing becomes:

"Location: http"

Lapinskas commented 4 years ago

Hello @soceans02,

Nice catch, thank you! I have fixed the issue in the latest release.