-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any plans for a version using Jakarta Servlet 5.0? #64
Comments
We do not have direct plans to upgrade. Do you have any desire to submit
a PR for this one?
Regards,
Jim @ Manicode
|
@jmanico don't sleep on this one. Long-term this means that the encoder project simply won't be used because the choice will be "go with new j2ee or use OWASP encoder?" Accepting a PR would mean that you'd make a breaking decision for applications that haven't changed the namespace. This means either maintaining two branches of Encoder (one for javax and one for jakarta) or a forge-ahead breaking decision forcing all clients to upgrade to the jakarta namespace. |
@xeno6696 it's not as big I think, as only users of the encoder |
@casid - It looks as though a simple grep of the code base shows that it affects all the encoder tags under 'jsp/src/main/java/org/owasp/encoder/tag' so that would be 19 files that they'd have to copy. Given how seldom the owasp-java-encoder needs to be updated, I think branching may actually be easier in this case... especially if they want to deprecate the current javax.servlet stuff and declare it EOL in a year or less. The downside of that is they'd have problems with the 'ESAPI Thunk' piece until ESAPI supports Jakarta (something we've been discussing here.) @jmanico - would be nice of you to drop your thoughts on the ESAPI discussion that I referenced. Thanks. |
We can add a Jakarta module, copy over the JSP and update appropriately. |
resolves #64 now requires java 8 for runtime requires jdk 17 to build due to jakarta module
resolves #64 now requires java 8 for runtime requires jdk 17 to build due to jakarta module
We are currently migrating our Spring Boot application to version 3.0.
In Spring Boot 3.0 they've migrated all dependencies from Java EE to Jakarta EE APIs. Now Jakarta EE 10 dependencies are used.
We are using the OWASP Java Encoder library and specifically the JSP module to encode user input. For example:
This is causing the following error:
This is because we are now using Jakarta Servlet 5.0 and the packages have been changed from
javax.*
tojakarta.*
.javax.servlet.jsp.tagext.SimpleTagSupport
is nowjakarta.servlet.jsp.tagext.SimpleTagSupport
.Are there any plans for a version using Jakarta Servlet 5.0?
I noticed that there's a discussion in the OWASP ESAPI project which deals with the same problem.
The text was updated successfully, but these errors were encountered: