📢 Moderators Needed 🚀

Moderators are needed with resources to post or have access to resources to post. Submit an application to be considered.
K

RSS Photo can't be uploaded if client side EXIF processing fails unexpectedly

K

Kirby

Guest
Guest or Bot
The attached image can't be uploaded on XenForo 2.3.7 (but works fine on 2.3.6 and lower).

This seems to be related to an exception thrown in client side EXIF processing:
Code:

Code:
case 'GPSTimeStamp':
    value = data.value.map((v) => v.join('/'))
    break

This assumes that v is an array, if it is not it throws an exception.

This exception is caught but silently ignored and the upload is aborted:
Code:

Code:
try
{
    const result = await this.preProcessFile(file)
    if (result === false)...

Read more

Continue reading...
 
Similar content Most view View more
Back
Top