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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emoji-only post titles can introduce filename collisions #52

Open
jmacdotorg opened this issue Jan 19, 2021 · 1 comment
Open

Emoji-only post titles can introduce filename collisions #52

jmacdotorg opened this issue Jan 19, 2021 · 1 comment
Labels

Comments

@jmacdotorg
Copy link
Owner

If you make post titled "馃榾" on a given day, and then make a separate post titled "馃帺馃帺" on that same day, they will result in identically named HTML files, such that one will overwrite the other.

The logic that decides posts' filenames needs to take account for this situation.

@jmacdotorg jmacdotorg added the bug label Jan 19, 2021
@taskboy3000
Copy link
Collaborator

My port of plerd adds the time to the filename. This is one solution to this problem, but it creates urls that are in no way memorizable by a human.

Perhaps by recognizing a new attribute (alt-filename?), the post writer can manage this problem? In the event of a filename clash, maybe throw an error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants