webmetrics / browsermob-proxy

NOTICE: this project has been forked and is being maintained at https://github.com/lightbody/browsermob-proxy
https://github.com/lightbody/browsermob-proxy
Apache License 2.0
232 stars 763 forks source link

does browsermob encode the URL? #122

Open zhiy opened 10 years ago

zhiy commented 10 years ago

I use browsermob to capture har file, but looks like the resource request report 404. e.g a js request in the html is:

    http://cdn-2012c0aa9824.yottaa.info/5242b335dd7eee61cb0008cd/bestwebsitemonitoring.us/v~108.1f5/regression/static/js/2.js?yocs=_&yoloc=us 

but has been encode as:

    http://cdn-2012c0aa9824.yottaa.info/5242b335dd7eee61cb0008cd/bestwebsitemonitoring.us/v%7E108.1f5/regression/static/js/2.js?yocs=_&yoloc=us 

difference is change ~ to %7E, does it encode by browsermob?