简体   繁体   English

ektron regex别名是否更改匹配组的大小写

[英]Is ektron regex aliasing change the case of matched group

The url I typed in the browser is like host/en-in/study/subject- abCD - efGh 我在浏览器中输入的网址就像是主机/ EN-IN /学习/主语ABCD - EFGH

I have a regular expression in ektron regex aliasing like 我在ektron regex别名中有一个正则表达式

host/en-in/study/(.*(.*-([\w_]*)-))([\w_]*)

and the mapped url is like below 映射的URL如下

host/ektron_page_path/?pageid=10&subjectid=$3&courseid=$4

The values corresponding to $3 and $4 are abCD and efGh 对应于$ 3和$ 4的值是abCD和efGh

Then the resultant url will be like below 然后结果URL将如下所示

host/ektron_page_path/?pageid=10&subjectid=abCD&courseid=efGh

My problem is that the query string changed like below when I tried to get them same via using Request.Querystring.Tostring() 我的问题是,当我尝试通过使用Request.Querystring.Tostring()获得相同的查询字符串时,查询字符串发生了如下变化

host/ektron_page_path/?pageid=10&subjectid= abcd &courseid= efgh host / ektron_page_path /?pageid = 10&subjectid = abcd &courseid = efgh

The case of query string changed to lowercase (abCD to abcd and efGh to efgh) For fetching the next data query string values to be case sensitive (abCD fetch the data but abcd not) 查询字符串的大小写更改为小写(abCD更改为abcd,efGh更改为efgh)用于获取下一个数据查询字符串值,使其区分大小写(abCD获取数据,但abcd则不)

I had some email conversation with Episerver support. 我在Episerver支持下进行了一些电子邮件交谈。 It was an issue which solved in the ektron 9.1 SP3 Update 8 (June 17, 2016 issue:24315 ) 这是ektron 9.1 SP3 Update 8中解决的问题(2016年6月17日,版本:24315)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM