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

Server returns 403 when accessing a note with non-ascii characters #96

Closed
GarrisonBaird opened this issue Jul 15, 2018 · 2 comments
Closed

Comments

@GarrisonBaird
Copy link

Like Œ, or any asian language characters

@GarrisonBaird
Copy link
Author

Resolved, it's caused by SmellsEncrypted. Remove it from handlers.go and everything works fine.

@jmcfarlane
Copy link
Owner

This is a valid defect. It's due to the original (naive) encryption technique. The code is still using that silly function to determine if decryption was successful, but it's using that function even with the new encryption mechanism. I'll fix this to only use it for the old one.

As a side note the encryption mechanism was changed almost a year ago, and at runtime notes are automatically migrated to the improved mechanism (aka this can likely be deleted anyway).

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