You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attachments are being served to mobile browsers with a "Content-Disposition: inline" header when they should be served with a "Content-Disposition: attachment" header.
Basic Information
Attachments are being served to mobile browsers with a "Content-Disposition: inline" header when they should be served with a "Content-Disposition: attachment" header.
https://www.simplemachines.org/community/index.php?msg=4169626
Steps to reproduce
Expected result
The XML file is saved as a file.
Actual result
The XML file is opened in a browser window.
Version/Git revision
2.1.4
Database Engine
All
Database Version
No response
PHP Version
No response
Logs
No response
Additional Information
The problem appears to be the
!==
comparison operators on this line:SMF/Sources/ShowAttachments.php
Line 336 in 7f22610
They should actually be
===
operators.The text was updated successfully, but these errors were encountered: