Skip to content

Conversation

hpryce
Copy link
Contributor

@hpryce hpryce commented Jan 19, 2022

Before: jars or other archives that contained a JndiManager class with a different extension, such as JndiManger.classdata, would be missed
After: any file called JndiManager, regardless of extension, will be checked for hash matches against known versions

@changelog-app
Copy link

changelog-app bot commented Jan 19, 2022

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Any file called JndiManager, regardless of extension, will be checked for hash matches against known versions

Check the box to generate changelog(s)

  • Generate changelog entry

return fileNameMatchesLog4jVersion(filename)
}

func filenameFromPath(path string) string {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Can we rename this to filenameFromPathInsideArchive so that semantically it's clear that we are only concerned with archive-specific path separators?

@hpryce hpryce force-pushed the any_file_extension branch from b3d333a to 30baff3 Compare January 19, 2022 14:07
@bulldozer-bot bulldozer-bot bot merged commit adc0006 into develop Jan 19, 2022
@bulldozer-bot bulldozer-bot bot deleted the any_file_extension branch January 19, 2022 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants