The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

DOM-based open redirection

Gokul | Last updated: Sep 09, 2021 02:35PM UTC

Is this vulnerable or just a false positive? n Util.addInputType(el)},addParams:function(params,url){A.use("querystring-stringify-simple");if(Lang.isObject(params)){params=A.QueryString.stringify(params)}else{params=Lang.trim(params)}if(params){ var loc=url||location.href; var anchorHash;var finalUrl;if(loc.indexOf("#")>-1){ var locationPieces=loc.split("#"); loc=locationPieces[0]; anchorHash=locationPieces[1]}if(loc.indexOf("?")==-1){params="?"+params}else{params="&"+params}if(loc.indexOf(params)==-1){ finalUrl=loc+params; if(anchorHash) {finalUrl+="#"+anchorHash}if(!url){ location.href=finalUrl }return finalUrl}}},camelize:function(value,separator){var regex=REGEX_DASH;if(separator){regex=new RegExp(separator+"([a-z])","gi")}value=value.replace(regex,function(match0,match1){return match1.toUp

Uthman, PortSwigger Agent | Last updated: Sep 10, 2021 09:11AM UTC