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

file not found / access denied - use fuzzy matching, or generate better error messages? #1

Open
publicityreform opened this issue Sep 6, 2018 · 1 comment

Comments

@publicityreform
Copy link
Member

primarily a problem if people are trying to directly access files in S3 using copy-and-pasted links from a site that doesn't maintain case on the link text (kchung's sites, and any copycat tumblr subdomains, currently force lowercase, for example). if case / spelling / punctuation are not exact, raw xml is returned showing "access denied" - could we try returning fuzzy matches (allowing case-insensitive results, for example)? or maybe a custom error result that gives better / more friendly options for troubleshooting?

@tim-phillips tim-phillips transferred this issue from kchungradio/radio-archive-api Sep 17, 2019
@tim-phillips tim-phillips added enhancement New feature or request and removed enhancement New feature or request labels Sep 22, 2019
@tim-phillips
Copy link
Member

tim-phillips commented Sep 23, 2019

To do this we would route archive.kchungradio.org to a custom service that would lookup the record in our database and then 301 redirect the client to the appropriate url.

On the browser side, it looks like the CSS working group decided that text-transform shouldn't affect copying of text. Firefox preserves the underlying case of the copied text, but Chrome still applies the transform. Hopefully this will be fixed in webkit.

http://adrianroselli.com/2012/06/copying-content-styled-with-text.html#Update03

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

No branches or pull requests

2 participants