thephpleague / oauth2-server

A spec compliant, secure by default PHP OAuth 2.0 Server
https://oauth2.thephpleague.com
MIT License
6.51k stars 1.12k forks source link

Fix parse_url() may return FALSE case #1242

Closed dongm2ez closed 2 years ago

dongm2ez commented 3 years ago

On seriously malformed URLs, parse_url() may return false.

https://www.php.net/manual/en/function.parse-url.php

eugene-borovov commented 3 years ago

Part of #1237