Skip to content

RAT-585: Respect filesystem case sensitivity in path root matching - #764

Open
kwin wants to merge 2 commits into
apache:masterfrom
kwin:bugfix/case-sentivity-on-FSInfo
Open

kwin wants to merge 2 commits into
apache:masterfrom
kwin:bugfix/case-sentivity-on-FSInfo

Conversation

@kwin

@kwin kwin commented Oct 29, 2026

Copy link
Copy Markdown
Member

Add corresponding tests

@kwin

kwin commented Oct 29, 2026 •

Copy link
Copy Markdown
Member Author

Just a remark: The whole DocumentName seems to be a bit over engineered. Just relying on java.nio.Path and leveraging its resolve would have been much better in my perspective instead of reimplementing this in https://github.com/kwin/creadur-rat/blob/8102159b4f38851a00c11d73c25a2925ef498bfe/apache-rat-core/src/main/java/org/apache/rat/document/DocumentName.java#L164.

@ottlinger
ottlinger requested a review from Claudenw October 29, 2026 12:51
@ottlinger

Copy link
Copy Markdown
Contributor

Thanks for providing a patch to the problem - @Claudenw do you see any problem with the change?

@ottlinger ottlinger left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm okay with the change so far. Thanks again for your help.

The change in the changes.xml is minor, thus my approval albeit a tiny wish for this change.

Comment thread src/changes/changes.xml Resolved
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.

2 participants