Let the storm money come!

处理 httprequest post 编码问题

  site :http://www.cnblogs.com/artwl/archive/2012/03/07/2382848.html

 

  在JavaScript中推荐的做法是用encodeURI对URI的网址部分编码,用encodeURIComponent对URI中传递的参数进行编码。

  在C#中推荐的做法是用Uri.EscapeUriString对URI的网址部分编码,用Uri.EscapeDataString对URI中传递的参数进行编码。

posted @ 2016-06-08 15:09  精密~顽石  阅读(696)  评论(0编辑  收藏  举报
在通往地狱的路上,加班能使你更快到达。