前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >17.12.4日报

17.12.4日报

作者头像
龙泉寺扫地僧
发布2019-02-20 10:36:36
5630
发布2019-02-20 10:36:36
举报
文章被收录于专栏:盟主来了盟主来了

1,找到http://www.xinhuanet.com 图片显示不了的原因,curl没打开zip宏

2,找到https://pan.toaone.com  打不开的原因,wolfssl可能某个宏没开,用回openssl就可以了

3,找到http://so.news.cn/#search/0/%E6%90%9C%E7%B4%A2/1 不停刷新的原因了。

下面是堆栈。可以看出如果url的hash有变化,[r.handle]就会调用到 [i.extend.navigate]

这网页写的没考虑兼容webkit,只兼容了ie和chrome 这网页会调用Location::setHash把函数设置进去 webkit会把汉字escape chrome不会

导致下次去出来的url Fragment不一样,然后这网页就继续设置hash,死循环了

4,继续看so.news.cn会乱码的问题。原因是KURL输出的是utf8,而Location::hash返回给js,js再设置到input里,blink会把这段字符串当成ascii的。

现在打算把kurl返回的改成utf16

===========================================================

i.extend.set (base.min.js:formatted:6443) 设置keyword的值 Backbone.View.extend.changeType (resultView.js?v=20170215:68) Backbone.Router.extend.setView (router.js?v=20170215:50) Backbone.Router.extend.init (router.js?v=20170215:35) i.extend.execute (base.min.js:formatted:7170) (anonymous function) (base.min.js:formatted:7160) (anonymous function) (base.min.js:formatted:7308) _.some._.any (base.min.js:formatted:4869) i.extend.loadUrl (base.min.js:formatted:7306) i.extend.start (base.min.js:formatted:7279) (anonymous function) (router.js?v=20170215:61) t.exec (sea.js:2) t.use.e.callback (sea.js:2) t.onload (sea.js:2) t.load (sea.js:2) d (sea.js:2) onload (seajs-css.js:110) ==== line:6272, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend._updateHash] line:6257, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.navigate] line:6109, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.navigate] line:93, [http://tmisc.home.news.cn/search/font/js/search/router.js?v=20170215] , [Backbone.Router.extend.setHash] line:15, [http://tmisc.home.news.cn/search/font/js/search/view/resultCom.js?v=20170215] , [] line:5400, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [f] line:5346, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [e.Events.trigger] line:5494, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.set] line:68, [http://tmisc.home.news.cn/search/font/js/search/view/resultView.js?v=20170215] , [Backbone.View.extend.changeType] line:50, [http://tmisc.home.news.cn/search/font/js/search/router.js?v=20170215] , [Backbone.Router.extend.setView] line:35, [http://tmisc.home.news.cn/search/font/js/search/router.js?v=20170215] , [Backbone.Router.extend.init] line:6106, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.execute] line:6098, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [] line:6238, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [] line:4093, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [_.some._.any] line:6235, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.loadUrl] line:6211, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.start] line:61, [http://tmisc.home.news.cn/search/font/js/search/router.js?v=20170215] , [] line:2, [http://tmisc.home.news.cn/search/font/js/base/sea.js] , [t.exec] line:2, [http://tmisc.home.news.cn/search/font/js/base/sea.js] , [e.callback] line:2, [http://tmisc.home.news.cn/search/font/js/base/sea.js] , [t.onload] line:2, [http://tmisc.home.news.cn/search/font/js/base/sea.js] , [t.load] line:2, [http://tmisc.home.news.cn/search/font/js/base/sea.js] , [d] line:143, [http://tmisc.home.news.cn/search/font/js/base/seajs-css.js] , [] ---- line:6272, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend._updateHash] line:6257, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.navigate] line:6109, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.navigate] line:93, [http://tmisc.home.news.cn/search/font/js/search/router.js?v=20170215] , [Backbone.Router.extend.setHash] line:15, [http://tmisc.home.news.cn/search/font/js/search/view/resultCom.js?v=20170215] , [] line:5400, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [f] line:5346, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [e.Events.trigger] line:5494, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.set] line:68, [http://tmisc.home.news.cn/search/font/js/search/view/resultView.js?v=20170215] , [Backbone.View.extend.changeType] line:50, [http://tmisc.home.news.cn/search/font/js/search/router.js?v=20170215] , [Backbone.Router.extend.setView] line:35, [http://tmisc.home.news.cn/search/font/js/search/router.js?v=20170215] , [Backbone.Router.extend.init] line:6106, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.execute] line:6098, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [] line:6238, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [] line:4093, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [_.some._.any] line:6235, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.loadUrl] line:6231, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [i.extend.checkUrl] line:1733, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [m.event.dispatch] line:1649, [http://tmisc.home.news.cn/search/font/js/base.min.js] , [r.handle]

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2017年12月04日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档