[wp-trac] [WordPress Trac] #39755: Rest API json string corruption?

WordPress Trac noreply at wordpress.org
Wed Feb 1 06:06:20 UTC 2017


#39755: Rest API json string corruption?
--------------------------+-------------------------
 Reporter:  sgehrman      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  REST API      |     Version:  4.7.2
 Severity:  normal        |  Resolution:  worksforme
 Keywords:                |     Focuses:
--------------------------+-------------------------

Comment (by sgehrman):

 Replying to [comment:2 rmccue]:

 curl works on my computer also.  Thanks!

 But for some reason, I get back collapsed spaces in the result of
 $.post().  I'm console logging it. Would that collapse the spaces?  I also
 do compares in javascript and it fails unless I get rid of the spaces, so
 I'm not sure when the data is getting changed.

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


More information about the wp-trac mailing list