[wp-trac] [WordPress Trac] #31080: GUID should not always be escaped for url in feeds

WordPress Trac noreply at wordpress.org
Mon Mar 2 20:33:10 UTC 2015


#31080: GUID should not always be escaped for url in feeds
-----------------------------------------+--------------------------
 Reporter:  CheeseDurger                 |       Owner:  stevenkword
     Type:  defect (bug)                 |      Status:  assigned
 Priority:  normal                       |   Milestone:  4.2
Component:  Feeds                        |     Version:  trunk
 Severity:  normal                       |  Resolution:
 Keywords:  2nd-opinion has-patch close  |     Focuses:  template
-----------------------------------------+--------------------------

Comment (by stevenkword):

 Replying to [comment:8 rmccue]:
 > Also: we're outputting into a field that's explicitly noted as "just a
 string" in the specification. The escaping functions are dependent on
 their context in the output, not on the input values, so all we should do
 is XML-escape regardless.

 I agree.  Relates to #19998

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


More information about the wp-trac mailing list