matthiasblaesing commented on issue #6236:
URL: https://github.com/apache/netbeans/issues/6236#issuecomment-1644356040

   The problem is, that you did not specify an URI, at least to my 
understanding. I had a look at RFC 3986 (Uniform Resource Identifier (URI): 
Generic Syntax). My understanding is, that the problematic part is parsed as:
   
   -> URI (`https://unpkg.com/primeflex@^3/primeflex.css`)
   -> hier-part (`//unpkg.com/primeflex@^3/primeflex.css`)
   -> path-abempty (`/primeflex@^3/primeflex.css`)
   -> segment (`primeflex@^3`)
   
   Below the segment is no matching construction. `segment` is defined to be a 
list of `pchar` elements, which can be::
   
   - unreserved (`ALPHA / DIGIT / "-" / "." / "_" / "~"`)
   - pct-encoded (`"%" HEXDIG HEXDIG`)
   - sub-delims (`"!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / 
"="`)
   - `:`
   - `@`
   
   none of these match "^". 
   
   TL;DR: The browsers are wrong to accept this as an URL and not reject it.
   
   The good news: If you use a valid URL it still works: 
`https://unpkg.com/primeflex@%5E3/primeflex.css`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to