本文介绍了为什么我用Url获取一些加密文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨!!! 当我从vs2012发布我的网站时,当我运行网站时,我正在获取一些带网址的加密文本(粗体) 喜欢:localhost/%28S%28iqlo5ypdbinj23wszegbmj0c%29%29/Index.aspx\"
hi!!!. when i publish my website from vs2012 and when i run website i am getting some encrypted text with url (in bold) Like: "localhost/%28S%28iqlo5ypdbinj23wszegbmj0c%29%29/Index.aspx"
推荐答案这称为: URL编码 [ ^ ]
从哪里获取该URL?这是你从后端请求中看到的,还是你必须粘贴到浏览器中才能查看页面? 如果是前一种情况,那么您的网址名称中是否包含特殊字符或空格?如果是这样,那么这些将被逃脱。我相信你可能已经看过%20,例如这是一个空格。 %28是(字符,%29是)字符。那么你有一个看起来像 Where are you getting that URL from? Is it what you are seeing from the backend on the request, or is that what you must paste into your browser to view the page? If the former case, then does your URL have special characters or white space within the name? If so, then those will be escaped out. I'm sure you may have seen %20 for example which is a space. The %28 is the "(" character and the %29 is the ")" character. So do you have a line that looks like localhost/(S(iqlo5ypdbinj23wszegbmj0c))/Index.aspx
的那一行正在发送给你的主机吗?检查你的字符串并确保你在正确的位置都有开始和结束的引号。
somewhere that is being sent to your host? Check your strings and make sure that you have opening and closing quotes on them all in the proper locations.
更多推荐
为什么我用Url获取一些加密文本
发布评论