Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bug in the end-to-end test, that occurred on mac, due to symbolic links. #1553

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

TwoOfTwelve
Copy link
Contributor

There was a bug in unzipping the files for the end-to-end tests.
For security reasons, files are only created, if they are located within the target directory (not pointing outside through the use of links). For that comparison the file from the zip was compared using its canonical path, the target directory was not. Now both use the canonical path (path with all sym-links and other references resolved).

Copy link

sonarcloud bot commented Feb 13, 2024

Quality Gate Passed Quality Gate passed for 'JPlag Plagiarism Detector'

Issues
0 New issues

Measures
0 Security Hotspots
80.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@tsaglam tsaglam added bug Issue/PR that involves a bug minor Minor issue/feature/contribution/change labels Feb 13, 2024
@tsaglam tsaglam merged commit dc0d3c7 into develop Feb 13, 2024
9 checks passed
@tsaglam tsaglam deleted the feature/e2e-tests-mac-bug branch February 13, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue/PR that involves a bug minor Minor issue/feature/contribution/change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants