Firefox41中的GWT在URL中重复编码令牌 [英] GWT in Firefox41 repetitively encodes token in URL
问题描述
令牌从管道开始:#search:advanced | FOO | 001 | false
编码为#search:advanced%7CFOO%7C001%7Cfalse
Chrome完全打开它,但是最新的Firefox开始循环,增加了一个额外的25(重复编码%??)....
'p>实施例(从记录器):INFO:标记化searchPlace:SearchPlace:检索类别:先进%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525257CFOO%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525257C001%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525257Cfalse%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525257C%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252 5252525257C%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525257Cfalse%252525252525252525252525252525252525252525252525252525252525252525252525252525252525 [...]
没有在以前版本的Firefox的发生 - 只有当我们升级到41.0,上周末!已经签出加载项...没有运气。
尝试了about:config中的标准URL设置...也没有运气。
当每次调用getPlace()时user.agent包含gecko时,通过将应用程序代码添加到decodeURIComponent是一个更容易的修复 - 是在Firefox的设置重置?
转到:
about> config
然后搜索:
dom.url.getters_decode_hash;
并更改其值到 true
Gwt Application with Place, Activities etc.
Has anyone else encountered Firefox 41.0 repetitively encoding % in the token of URL - looks like when PlaceController goto() is called? Loops until it crashes!! Token starts out with pipes: #search:advanced|FOO|001|false
Encoded to #search:advanced%7CFOO%7C001%7Cfalse
Chrome opens it perfectly, but latest Firefox starts looping, adding an extra 25 (repetitively encoding the % ??)....
Example (from logger): INFO: Tokenized searchPlace: SearchPlace: searchType:advanced%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525257CFOO%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525257C001%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525257Cfalse%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525257C%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525257C%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525257Cfalse%252525252525252525252525252525252525252525252525252525252525252525252525252525252525[…]
Did NOT happen in previous version of Firefox - only when we upgraded to 41.0 last weekend! Have checked out the add-ons ... no luck.
Tried messing with the standard-url settings in about:config ... also no luck.
Have gotten around it by adding application code to "decodeURIComponent" when the user.agent contains "gecko" every time getPlace() is called .... but surely there is an easier fix - is it a setting in Firefox that got reset?
Go to:
about > config
Then search for:
dom.url.getters_decode_hash;
and change its value to true
这篇关于Firefox41中的GWT在URL中重复编码令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!