Unable to load ReplaceURLDomain()

Unable to load ReplaceURLDomain()


Hello All,

I got warning like

 "Open Redirect
Please enclose input parameters with a ReplaceURLDomain() function from HttpRequestHandler to avoid open redirect vulnerabilities."

I am trying to Enclose input parameter into "ReplaceURLDomain()" function, But I am unable to get this function.

It is showing message in Red Color like

"Unknown function 'ReplaceURLDomain()' in function".

Hi Pradip,

You have to go to the manage dependencies and add that ReplaceURLDomain (from HTTPRequestHandler) action to your module. After that you should be able to use it.