Description
While deploying a web application using esapi-2.6.0.0.jar, the following error is encountered:
Steps to Reproduce
- Deploy a web application that includes
esapi-2.6.0.0.jar in the WEB-INF/lib folder.
- Start the Tomcat server.
- Observe the deployment logs.
Expected Behavior
The application should deploy successfully without errors.
Actual Behavior
Deployment fails due to an invalid version attribute value in esapi.tld. The value 2.x is not a valid decimal format.
Suggested Fix
Update the esapi.tld file within esapi-2.6.0.0.jar to use a valid decimal value for the version attribute. For example, replace 2.x with 2.0.
Environment
- Tomcat Version: [10.1.34]
- ESAPI Version: 2.6.0.0
- Java Version: [java17]
- Operating System: [MAC]
Impact
This issue prevents the deployment of applications that depend on the ESAPI library, making the library unusable in its current state.
Additional Information
This issue is reproducible on multiple environments. A quick workaround involves extracting the JAR, editing the esapi.tld file, and re-packaging the JAR. However, an official fix is preferred.
Description
While deploying a web application using
esapi-2.6.0.0.jar, the following error is encountered:Steps to Reproduce
esapi-2.6.0.0.jarin theWEB-INF/libfolder.Expected Behavior
The application should deploy successfully without errors.
Actual Behavior
Deployment fails due to an invalid
versionattribute value inesapi.tld. The value2.xis not a valid decimal format.Suggested Fix
Update the
esapi.tldfile withinesapi-2.6.0.0.jarto use a valid decimal value for theversionattribute. For example, replace2.xwith2.0.Environment
Impact
This issue prevents the deployment of applications that depend on the ESAPI library, making the library unusable in its current state.
Additional Information
This issue is reproducible on multiple environments. A quick workaround involves extracting the JAR, editing the
esapi.tldfile, and re-packaging the JAR. However, an official fix is preferred.