Some URIs contain search parameters (e.g. - http://localhost/mypage.html?parm1=123). In this case, we need to ignore everything past the file name in order to read the source.
Also, included commit 240a1f3 to ensure the hook only applies to iOS and Android. Otherwise, the source files will be encrypted for unsupported platforms.
Some URIs contain search parameters (e.g. - http://localhost/mypage.html?parm1=123). In this case, we need to ignore everything past the file name in order to read the source.