« Previous | Next » 

Revision 1b03b89c

ID1b03b89c9a61c5a8066544929a9be590eb3521b3

Added by Adrian Föder over 8 years ago

[!!!][BUGFIX] Http\Uri constructor throws exception on invalid Uri

The constructor of the Uri object now checks the return value
of the parse_url method and throws an exception if this returns
anything else than a valuable array, because in this case the
given Uri is considered seriously malformed.

This is considered breaking because prior to this change,
the Uri just silently was created with all empty values.

Change-Id: I54c3c82e60c53ebad7dcf43ecd7e7f7044831668
Fixes: #42511
Releases: 1.1, 1.2

  • added
  • modified
  • copied
  • renamed
  • deleted