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

Fix problems in path normalisation algorithm (#1541) #17

Conversation

LeonidVas
Copy link

Current implementation of path normalisation contains various flaws:

  • Trailing . and .. at the end of path don't get normalised,
  • Path / turns into an empty string after normalisation.

This patch changes implementation of normalisation to fix these.

(cherry picked from commit b8a2710)

Current implementation of path normalisation contains various flaws:

- Trailing `.` and `..` at the end of path don't get normalised,
- Path `/` turns into an empty string after normalisation.

This patch changes implementation of normalisation to fix these.

(cherry picked from commit b8a2710)
@LeonidVas LeonidVas merged commit a79e53e into luarocks-3.9.2-tarantool Nov 1, 2023
8 of 16 checks passed
@LeonidVas LeonidVas deleted the lvasiliev/gh-no-ticket-fix-path-normalisation branch November 1, 2023 09:38
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