there is a charactar '/' in the url's query string

yzx110 2004-09-27 06:11:43
In the situation above, I don't get the exactly query string from Request.Params, and
some charactars were replaced with a character '?'. How can i solve this problem.

thianks!
...全文
175 14 打赏 收藏 转发到动态 举报
写回复
用AI写文章
14 条回复
切换为时间正序
请发表友善的回复…
发表回复
quickball 2004-09-28
  • 打赏
  • 举报
回复
Server.URLDecode(Server.URLEncode(urlparamters))
bigsuncc 2004-09-28
  • 打赏
  • 举报
回复
楼主,你没装中文输入啊!
E文这么好,怎么可能有这种问题?
yzx110 2004-09-28
  • 打赏
  • 举报
回复
If i encode the url when i scrabble it in the server side, i will get a invalidate url.
Does the ASP.NET encode the url again?
史前大松鼠 2004-09-28
  • 打赏
  • 举报
回复
接收的页面不需要decode也能收到正确的值
史前大松鼠 2004-09-28
  • 打赏
  • 举报
回复
客户端写url之前先对对cfname和Path server.urlencode然后再进行传值
drason 2004-09-28
  • 打赏
  • 举报
回复
同意 cancersyf(fengzhimei)
Server.URLEncode及Server.URLDecode

客户端使用escape(string)
yzx110 2004-09-28
  • 打赏
  • 举报
回复
Now i have solved the problem, i just replace the charactor '/' with '。', but who have a better method?
yzx110 2004-09-28
  • 打赏
  • 举报
回复
I see, now i just encode the Chinese which is in the url. But before, i encoded the whole url and got a invalidate url.

thanks, everybody!
SVG 2004-09-28
  • 打赏
  • 举报
回复
Server.URLEncode后的空格会转成+号,
再replace("+", "%20")
在js里使用unescape将它解码.
SeeSunSet 2004-09-28
  • 打赏
  • 举报
回复
使用Server.URLEncode及Server.URLDecode
JSP里面用encodeURICompelet
yzx110 2004-09-28
  • 打赏
  • 举报
回复
'Server.URLDecode(Server.URLEncode(urlparamters))' is useless.
yzx110 2004-09-27
  • 打赏
  • 举报
回复
url like this: http://localhost/PM/ProductList.aspx?CFID=19&CFName=茶叶&Path=2,食品饮料;17,茶叶/茶饮料;19,茶叶;
But i can't explicit encode the url, because it will get a invalidate url.
cancersyf 2004-09-27
  • 打赏
  • 举报
回复
使用Server.URLEncode及Server.URLDecode
eboywy 2004-09-27
  • 打赏
  • 举报
回复
请写出你的URL来看看。
内容概要:本报告基于DNA双螺旋归因模型,通过对奇瑞集团三大主体公司(奇瑞汽车、奇瑞新能源、得壹能源)共超4.5万件专利的深度分析,揭示其“整车层→系统层→材料层”三层研发体系的结构性特征与核心矛盾。研究发现,奇瑞在工程应用层面专利布局雄厚,但在底层材料科学和化学领域严重薄弱,导致从整车工程向材料研发延伸时出现“技术断层”。典型案例为得壹能源硅碳负极专利CN120463202A在9个月内被驳回,暴露出“公知工艺拼接、参数微调、缺乏创新机理”的深层次问题,反映出集团在材料领域研发投入不足、人才断层、团队割裂的战略短板。; 适合人群:企业IPR负责人、研发总监/CTO、科技领域投资人及从事新能源汽车技术战略布局的研究人员。; 使用场景及目标:①评估企业专利质量与研发战略匹配度;②识别技术布局中的结构性风险;③指导高价值专利培育与底层技术创新路径规划;④为投资尽调提供技术维度的风险预警。; 阅读建议:本报告强调“专利数据即技术战略镜像”,建议结合IPC分类、发明人流动、法律状态等多维数据交叉研判,避免仅凭专利数量误判企业真实创新能力,尤其在固态电池、芯片等前沿领域需重点关注底层专利质量。

62,272

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧