Skip to content

master lpd 84733#465

Open
kyle-miho wants to merge 3 commits into
liferay:masterfrom
kyle-miho:master-lpd-84733
Open

master lpd 84733#465
kyle-miho wants to merge 3 commits into
liferay:masterfrom
kyle-miho:master-lpd-84733

Conversation

@kyle-miho

@kyle-miho kyle-miho commented Jun 1, 2026

Copy link
Copy Markdown
Member

https://liferay.atlassian.net/browse/LPD-84733

Also manually tested in Liferay IDE

@kyle-miho kyle-miho marked this pull request as draft June 1, 2026 16:01
<Method name="getVersion" />
</Match>

<!--

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We need to add exclusions even though we made a fix for these methods because Spotbugs expects the fix for Path traversal to be FilenameUtils.getName(xxx) which will strip any subdirectory paths. So we still need to make the proper fix as well as adding the exclusions.

/**
* @author Kyle Miho
*/
public class ZipUtilTests extends BaseTests {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Made with help from Claude, I reviewed and cleaned this up, tested and works. Adjusted the variable names a bit, but I'm unsure with names such as tempDir even though I think the name makes a lot of sense, it doesnt perfectly fit the xxxxClassName format.

@kyle-miho kyle-miho marked this pull request as ready for review June 1, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant