[wp-trac] [WordPress Trac] #60347: wp_kses breaking text fragments links

WordPress Trac noreply at wordpress.org
Thu Jan 25 19:36:09 UTC 2024


#60347: wp_kses breaking text fragments links
--------------------------+------------------------------
 Reporter:  asafm7        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Security      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by asafm7):

 I forgot to mention that it only happens to relative links, without a
 protocol.

 Like in the example I provided:

 <a href="#:~:text=highlight>Link</a>

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60347#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list