Welcome, Guest! Log In | Create Account

Ticket #853 (closed defect: fixed)

Opened 4 months ago

Last modified 3 months ago

inconsistency between serveradd and "Add Photos"

Reported by: floridave Owned by: tnalmdal
Priority: minor Milestone: 3.0 RC 1
Version: 3.0 Beta 3 Keywords: serveradd, Add Photos, spaces, space
Cc:

Description

-For picture uploads (ie. "two words.jpg") there is inconsistency between serveradd and "Add Photos". On the server "Add Photos" renames picture to "two_words.jpg" and serveradd leaves the space. This inconsistent naming will cause future frustrations and confusion.

-Adding pictures with "Add Photos" works with spaces and gallery permission=deny for "Everyone". Thus it is perfect, so serveradd just needs to do the same and rename to "two_words.jpeg".

Related to ticket https://sourceforge.net/apps/trac/gallery/ticket/812

Change History

Changed 4 months ago by nivekiam

In my experience, Add Photos changes the filename where serveradd does not. IMO, I think Add Photos needs to be revised to not do that. If the filename is using legal characters we shouldn't change the filename.

Changed 3 months ago by tnalmdal

  • owner set to tnalmdal
  • status changed from new to assigned

Changed 3 months ago by tnalmdal

  • status changed from assigned to closed
  • resolution set to fixed

Turns out it was a simple change to the upload configuration file. Setting "$config['remove_spaces' = FALSE;" stops the replacing of spaces with the underscore.

http://bit.ly/3SfTP8

Note: See TracTickets for help on using tickets.