« Previous | Next » 

Revision 8d0010f2

ID8d0010f29344bb351d28af24b60d05fc3b997b69

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