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

Replace shorthash with sha1 #8

Merged
merged 2 commits into from
Feb 25, 2022
Merged

Replace shorthash with sha1 #8

merged 2 commits into from
Feb 25, 2022

Conversation

eatyourgreens
Copy link
Contributor

Adds a test for two URLs that are known to generate the same cache path with shorthash.

Replaces shorthash with sha1 to generate unique hashes for URLs.

Closes #7.

Compare cache paths for two URLs that are known to generate the same hash.
@zachleat zachleat merged commit bb828ec into 11ty:master Feb 25, 2022
@zachleat zachleat added this to the v3.0.0 milestone Feb 25, 2022
@zachleat
Copy link
Member

Merged!, shipping with 3.0.0

@eatyourgreens
Copy link
Contributor Author

Excellent!

@eatyourgreens eatyourgreens deleted the sha1 branch February 25, 2022 21:46
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.

shorthash can generate the same identifier for different URLs
2 participants