RFR 8245245 : WebSocket can loose the URL encoding of URI query parameters
Pavel Rappo
pavel.rappo at oracle.com
Fri Jun 26 14:10:32 UTC 2020
Chris,
Currently (i.e. before the proposed change has been applied) the fragment is NOT retained. This is because of the requirement of the mentioned RFC section. The proposed change seems to overlook that detail. Hence, my question.
-Pavel
> On 26 Jun 2020, at 14:51, Chris Hegarty <chris.hegarty at oracle.com> wrote:
>
>
>
>> On 26 Jun 2020, at 14:38, Pavel Rappo <pavel.rappo at oracle.com> wrote:
>>
>> Rahul,
>>
>> Won't that start retaining the URL fragment? From https://tools.ietf.org/html/rfc6455#section-3
>>
>> Fragment identifiers are meaningless in the context of WebSocket URIs
>> and MUST NOT be used on these URIs. As with any URI scheme, the
>> character "#", when not indicating the start of a fragment, MUST be
>> escaped as %23.
>
> I don’t think that a a fragment will be retained, see
>
> 182 null); // No fragment
>
> , but maybe the concern is that a fragment character can be sneaked into other parts of the URI components, like the query? If so, then the test could be expanded to ensure that this cannot happen.
>
> -Chris.
>
More information about the net-dev
mailing list