Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
Pulsar
-
Platform Sprint 145, Platform Sprint 147
Description
There are some that have been reading Implementation-* attributes from the MANIFEST.MF resource manually by manipulating relative URL path using ../../../../, which doesn't seem to be very safe, as explained in HSTTWO-3890.
I'd like to propose changes in the following:
- org.hippoecm.frontend.model.SystemInfoDataProvider.getCMSVersion() should simply use Home.class.getPackage().getImplementationVersion() and Home.class.getPackage().getImplementationBuild().
Attachments
Issue Links
- relates to
-
HSTTWO-3890 HstServices#getImplementationVersion() might not work in non-Tomcat or jar-non-exploded envs
- Closed
-
REPO-1607 Replace custom reading Implementation-* from MANIFEST.MF by java.lang.Package methods
- Closed