joern
joern copied to clipboard
[jimple] Remove jsp add html and json
I would not consider jsp to be config files but code. Also added json and HTML files. The latter usually also does not contain configurations but i would expect it there (currently).
Besides the weirdly formatted Java code, JSP will usually contain HTML. At qwiet, we don't use jimple2cpg, but for javasrc2cpg and java2cpg we look at the HTML contained in .jsp
config files just as we do with .htm[l]
files.
Besides the weirdly formatted Java code, JSP will usually contain HTML.
For me it is ok to keep (or add?) the JSP to the config file node because we might loose (important) information otherwise.
However, the point of JSP having HTML content is opening up a path where we potentially end up adding everything except .class
files (for this frontend), because it is also true for PHP, JS, txt.. and all the extensions that we haven't considered. As we know, .war/ear/jar files have weird stuff in it ..