In reply to @v12sec

V12

V12

@v12sec · Twitter ·

Android’s `Uri.getPath()` percent-decodes the path before it reaches the vulnerable code. So `%5C%27` becomes `\'`, turning the final statement into: `window.location.href = '/\\'; ATTACKER_JAVASCRIPT //';` The quote ends the string, the payload executes, and `//` swallows the rest.