0

Problem with complex URLs in YUI fullpath

So I have a YUI config in my mojito config for vendor scripts mostly. It looks like this:

"yui":{ "config":{ "groups":{ "vendor-scripts":{ "modules":{ "comscore-beacon":{ "fullpath":"http://b.scorecardresearch.com/beacon.js" }, "google-analytics":{ "fullpath":"http://www.google-analytics.com/ga.js" }, "quantcast":{ "fullpath":"http://edge.quantserve.com/quant.js" }, "chartbeat":{ "fullpath":"http://static.chartbeat.com/js/chartbeat.js" }, "buzzfeed":{ "fullpath":"http://ct.buzzfeed.com/wd/UserWidget?u=xxxxx.com&to=1&or=vb&wid=1&cb=1332869026943" } } } } } }

The buzzfeed url is parameterized and when it gets requested client side the url is like this:

http://ct.buzzfeed.com/wd/UserWidget?u=xxxxx.com\u0026to=1\u0026or=vb\u0026wid=1\u0026cb=1332869026943

by
5 Replies

Recent Posts

in Yahoo! Mojito