-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Albums: Replace ASCII double quotes in titles with Unicode quotes instead of single quotes #2891
Comments
Think that was a precaution measure in the aftermath of the log4j debacle. Double quotes would also simplify code injection and may not be supported on many filesystems in case you want to use album names for zip files or as folder names. As such, it's a decision we made (for now) and not a bug. Feel free to help with improving our docs so that it does not look as that happened by mistake and should be reported as a bug. |
While I understand the technical rationale - as an end user I still find it to be a bug. Adding a note on the docs wouldn't improve anything from my perspective - I just don't think that an end user should be expected to read the docs just like I'm not reading manual guides of a new TV for example. Ideally things should work "as expected". |
They're not, that's my point. |
בּד״א |
All of the examples I found on https://www.myjewishlearning.com/article/a-guide-to-jewish-acronyms-and-abbreviations/ can be used as album names, just not the ASCII " which would require escaping and a lot of security checks and which technically is not the right character for RTL languages either as it is LTR. |
Would you be happy if we convert " to a proper Unicode character? |
Signed-off-by: Michael Mayer <michael@photoprism.app>
I have started a development preview build for testing. It should be ready within an hour. You can then also use our demo to test it. |
Yes, I'm well aware :) Thing is that de-facto nobody other than Apple devices is using this character, since it's not exposed to users on physical and non-physical keyboards. I personally prefers these quotes over a single quote, but would like to stress that a search for an album with straight quotes must include in the results albums with curly quotes in their names. |
Thank you for your feedback! Much appreciated. If you look at our search filter overview, you'll notice that we use So to search for Please note that Unicode search, normalization, and comparison are generally complex topics. While I'm happy to provide you with what I hope is a quick solution, we can't make this a full-time project in the next few weeks to cover all the special cases if the underlying database doesn't already cover them (which needs to be tested before we draw conclusions and develop new functionality). |
A good starting point to learn more about Unicode equivalence in search is the Wikipedia article: |
Following #1196 where we enabled keywords with single/double quotation marks, PhotoPrism currently converts double quotation marks in album titles with single quotation marks.
Though not a high priority bug, it feels weird for users in languages which make use of double quotation marks for acronyms.
The text was updated successfully, but these errors were encountered: