修改 link 以便 IE 不会引发 XSS 问题?
Modifying link so IE doesn't raise XSS Issue?
有没有办法修改 link 以便 IE 正确显示页面?
例如,我正在使用 Ruby,并生成了一个列表,例如 link,例如:
https://www.google.com/search?img=bks&q="cats" OR "dogs" or "birds"
但是,当我单击 link,它会在新的 tab/window 中打开时,IE 会引发以下问题:
Internet Explorer has modified this page to help prevent cross-site scripting.
页面根本无法加载。 link 也加载到地址栏中:
https://www.google.com/search?img=bks&q=%22cats%22%20OR%20%22dogs%22%20OR%20%22birds%22
显然,上面的示例不是我正在使用的,但是是什么导致 IE 这样做?有趣的是,如果我做类似的事情:
https://www.google.com/search?img=bks&q=%22cats%22
或
https://www.google.com/search?img=bks&q=%22cats%22%20OR%20%22dogs%22
奇怪的是,它工作正常。
谢谢。
有没有办法修改 link 以便 IE 正确显示页面?
例如,我正在使用 Ruby,并生成了一个列表,例如 link,例如:
https://www.google.com/search?img=bks&q="cats" OR "dogs" or "birds"
但是,当我单击 link,它会在新的 tab/window 中打开时,IE 会引发以下问题:
Internet Explorer has modified this page to help prevent cross-site scripting.
页面根本无法加载。 link 也加载到地址栏中:
https://www.google.com/search?img=bks&q=%22cats%22%20OR%20%22dogs%22%20OR%20%22birds%22
显然,上面的示例不是我正在使用的,但是是什么导致 IE 这样做?有趣的是,如果我做类似的事情:
https://www.google.com/search?img=bks&q=%22cats%22
或
https://www.google.com/search?img=bks&q=%22cats%22%20OR%20%22dogs%22
奇怪的是,它工作正常。
谢谢。