WebPagetest Forums
.har - json issuette with unescaped quotes - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: .har - json issuette with unescaped quotes (/showthread.php?tid=218)



.har - json issuette with unescaped quotes - p83822 - 05-06-2010 01:21 AM

Hi Pat

getting some bad json back from the lovely new .har feature:

"response": {
"name": "ETag",
"value": ""
20f68 - e4bc - 47fb9479d2180 ""
},

Our Etag header comes back in it's own double quotes.

ETag: "20f68-e4bc-47fb9479d2180"

(don't ask.)

Cheers and BR as always

Neil


RE: .har - json issuette with unescaped quotes - pmeenan - 05-06-2010 01:25 AM

Can you give me a link to the test results (PM me if you don't want it public). I had to hack the JSON library to get it to output UTF8 and in the process apparently missed some escaping :-) I'll get it fixed pronto.


RE: .har - json issuette with unescaped quotes - pmeenan - 05-06-2010 01:40 AM

better yet, just try again and see if it is fixed - added the proper escaping for strings and found one other bug as well.

Thanks,

-Pat


RE: .har - json issuette with unescaped quotes - p83822 - 05-06-2010 09:22 AM

Works like a charm!

Thanks Pat