Ticket #185 (closed defect: fixed)
Album name special characters issue
| Reported by: | kimparsell | Owned by: | sidtheduck |
|---|---|---|---|
| Priority: | high | Milestone: | 1.0 |
| Component: | General | Version: | 1.0b3 |
| Severity: | blocker | Keywords: | has-patch tested |
| Cc: |
Description
I did a clean install this AM using rev568, and ran into a bug. When trying to create an album with an apostrophe in the name (2005-12: Fallon's Pics), the album is being created (without any warnings issued) in the database, but the folder is not being created on the server. I discovered the problem when I went to edit the album to change the description. Upon clicking Update, the following errors were displayed:
Warning: rename(/home/xxxxxx/public_html/xxxxx/gallery1/plog-content/images/christmas/2005-12_fallon's_pics,
/home/xxxxxx/public_html/xxxxx/gallery1/plog-content/images/christmas/2005-12_fallons_pics) [function.rename]: No such file or directory in /home/xxxxxx/public_html/xxxxx/gallery1/plog-admin/plog-admin-functions.php on line 627
The Plogger error message:
Error renaming directory[[BR]]
(/home/xxxxxx/public_html/xxxxx/gallery1/plog-content/images/christmas/2005-12_fallon's_pics to
/home/xxxxxx/public_html/xxxxx/gallery1/plog-content/images/christmas/2005-12_fallons_pics)
I deleted the album from the admin panel, and got the following error message:
Album has invalid path, not deleting directory
