Issue
I have arcGIS jar file integrated into one of my Android projects and want to make some modifications in the java classes within the jar file. I modified the jar using the decompiler tool Jd-GUI tool and able to edit the java class. Now I am again creating the jar of the same folder with the updated class (OAuthView) in this case.
The problem here is after integrating this updated jar file in the same Android project I am unable to compile my project properly.
Why I need to do changes in the arcGIS (esri) )OAuthView Java class: * The application is failed in the security testing Reason: Cross Site Scripting (Java Injection), the report said this line in OAuthView Class is creating an issue:
setJavaScriptEnabled(true)
What I am looking for: Any possible way to overcome this issue.
Screenshot (Error Log)
One issue I suspect is, many times when you decompile the jar everything is not decompiled correctly. Hence when you pack the jar again the issue crops up. Here is what you can do.
If the issue still persists then try changing the decompiler program and repeat the above steps again.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.