On Mon, Mar 30, 2015 at 11:14 AM, Dracony <
draco...@gmail.com> wrote:
> I also have the question about the UriInterface. In your implementation you
> provide filtering for path. query ,etc. Is that something the interface
> should do? If so why is that not reflected in the comment?
Likely my docblocks in phly/http are not updated to the last revision
of the spec, but it *is* reflected in the docblocks within the
UriInterface:
The implementation MUST percent-encode reserved characters as
specified in RFC 3986, Section 2, but MUST NOT double-encode any
characters.
The above paragraph is included in each of withPath(), withQuery(),
and withFragment().
> Can an implementation throw an exception if those are imporperly formatted
> instead ? e.g. if a query contains an unescaped space or smth
Yes; again, the spec indicates that `InvalidArgumentException` can be
thrown in the case of invalid input.
> --
> You received this message because you are subscribed to the Google Groups
> "PHP Framework Interoperability Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
php-fig+u...@googlegroups.com.
> To post to this group, send email to
php...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/php-fig/132c3341-5dc3-4605-a510-379a13dd4c72%40googlegroups.com.
>
> For more options, visit
https://groups.google.com/d/optout.