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.hega...@oracle.com> wrote:
> 
> 
> 
>> On 26 Jun 2020, at 14:38, Pavel Rappo <pavel.ra...@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.
> 

Reply via email to