Ticket #164 (closed defect: worksforme)

Opened 3 months ago

Last modified 5 weeks ago

Big "renaming" bug

Reported by: kukluk Owned by: mike
Priority: high Milestone:
Component: Administration Version: 1.0b3
Severity: blocker Keywords: tested
Cc:

Description

If I rename my collection (or album) to name contains one of these characters: á,č,ď,é,ě,í,ó,ř,š,ť,ú,ů,ž (czech language), the images will be lost forever, because the directory name is wrong!

screenshot here:http://xs128.xs.to/xs128/08233/directory-name-bug855.png

Plogger 2 and 3 has exactly the same problem.

Please, try it.

Thank you.

Attachments

directory-name-bug.png (22.5 kB) - added by kukluk 3 months ago.
directory name bug - screenshot

Change History

Changed 3 months ago by kukluk

directory name bug - screenshot

Changed 3 months ago by sidtheduck

My current build does not have this problem. It seems to be the same problem with ticket #17, but I believe anti fixed that with the sanitize_filename() function to replace any non alpha-numeric character with "_". This seems to be working on my current build installation and the default Beta 3.0 installation.

kukluk, can you email me at sidtheduck AT gmail DOT com and I can give you access to my installation to test collection/album/picture additions or editing?

Changed 3 months ago by sidtheduck

I just ran across this today too -> http://www.dmry.net/plogger-30-beta-patch-for-special-characters-in-url-with-mod-rewrite

Looks like good code, but very large (may have a longer time going through all those preg_replaces too). What to other people think? Should this be something that is added to make the mod_rewrite, Cruft-Free URLs in different languages looking all purty?

Changed 6 weeks ago by sidtheduck

  • keywords tested added; rename, directory, language removed

kukluk tested on my machine and it seemed to work in my environment with the current codebase. I don't know if this experiences differently in any other server environments. I'm wondering if anyone else has run into the same problem.

Changed 5 weeks ago by sidtheduck

  • status changed from new to closed
  • resolution set to worksforme
Note: See TracTickets for help on using tickets.