摘要: 解决特殊字符不能转义 1、 function fixedEncodeURIComponent (str) { return encodeURIComponent(str).replace(/[!'()*]/g, function(c) { return '%' + c.charCodeAt(0).t 阅读全文
posted @ 2016-10-31 18:09 loweringye 阅读(850) 评论(0) 推荐(0) 编辑
摘要: 如&timestamp变成×tamp 阅读全文
posted @ 2016-10-31 16:58 loweringye 阅读(212) 评论(0) 推荐(0) 编辑