Thank you for reaching out.
I understand you wish to reconstruct/shorten the query string for example: abcd.html?abcd=efg
-removerthis-hij
&klm=nop
to abcd.html?abcd=efg&klm=nop
Based on your question above
This would be possible if we can capture the capture groups 1 and 2, however we're not sure if we can do this with Azure Front Door.
I do not think in Front door we can capture the groups 1 and 2. As documented here query_string
server variable in the request http://contoso.com:8080/article.aspx?id=123&title=fabrikam
, the query_string
value is id=123&title=fabrikam
. So, the individual query parameters will not be captured.
So, I do not think it will be achievable using Front Door Rules Engine.It will help if you could file feedback regarding this request on the feedback portal
Please let me know if you have any additional questions. Thank you!