79184711

Date: 2024-11-13 11:40:44
Score: 0.5
Natty:
Report link

I have used this kind of code for years without any problems:

<cfset zurl = #cgi.SCRIPT_NAME#&'?'&#cgi.QUERY_STRING#>
<cfset arg2remove = 'LoginID='&#url.LoginID#>
<cfset q = reReplaceNoCase(cgi.query_string, arg2remove, "")>

The use of regex is not necessary.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Frédéric Peters