Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-7501 now.

Avatar not deleted when new with different extension uploaded (fix completed in vcs)

Avatar filenames are constructed with:

1. constant salt
2. user/group id
3. image extension

phpBB assumes that, when a user submits a new avatar, the old one will be overwritten. This is not true when the old and new avatars have different extensions, e.g. GIF and PNG. It results that orphaned avatars may remain on the server.

A check should be performed, whether the extensions are the same, and if not, delete the old avatar.

Comments / History

Edited ticket

Action performed by bonzon on Jul 3rd 2008, 00:04

Assigned ticket to user "Kellanved"

Action performed by Kellanved (Former Team Member) on Jul 3rd 2008, 10:10

Linked ticket with changeset: r8701

Action performed by Kellanved (Former Team Member) on Jul 28th 2008, 15:22

Changed ticket status from "New" to "Fix completed in SVN"

Action performed by Kellanved (Former Team Member) on Jul 28th 2008, 15:22

Ticket details

Related SVN changesets