Hello there,
Anyone in the universe can help me finding out the function.What will be done with this regex string
When it passed to this javascript statement like this.
And is it possible to bypass this regex string may be making an xss attack or an open redirect?
Anyone in the universe can help me finding out the function.What will be done with this regex string
Quote:/^#~?!(?:\/?[\w\.-])+\/?(?:\?|$)/
When it passed to this javascript statement like this.
Code
(/^#~?!(?:\/?[\w\.-])+\/?(?:\?|$)/).test(location.hash)&&location.replace(location.hash.substr(location.hash.indexOf('!')+1));And is it possible to bypass this regex string may be making an xss attack or an open redirect?
