Skip to content

Camera photo uploads from iOS 11 not possible ("Denied file extension") #395

@derwok

Description

@derwok

With iOS11 it is not possible to upload photos taken with iPhone/iPad, anymore.
You recieve an error "Denied file extension".

First analysis result:
It seems Apple changed the file extension of camera photos from "JPG" to "jpeg". The later should be allowed, unfortunately our default ExtensionDeny setting includes "...|jpe|..." in the settings_sample.json and we do not check for extension with "^" and "$" bounds. So regular expression triggers here, as jpe is a substring of jpeg.

Solution:
Make full string regular expression match for extension by adding "^(" as prefix and ")$" as suffix to settings allowExtension & denyExtension.

Rationale:
We won't add this to the settings regular expression, as this would mean that admins have to update their settings in order to fix this bug.

FunFact & Workaround
It is possible to upload ScreenCaptures (Pressing HOME + ON/OFF button) as iOS then creates a *.PNG image. So a workaround could be to view the camera photo on device, then take screen snapshot and upload the snapshot PNG to 4Minitz.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions