Htaccess File

wustep/greenbears/master/gbcms/uploads/photos/.htaccess

# The following directives force the Content-Type
# "application/octet-stream" for all files except images.
# This prevents executing any uploaded scripts
# and forces a download dialog for non-image files:
ForceType application/octet-stream
<FilesMatch "(?i).(gif|jpe?g|png)$">
  ForceType none
</FilesMatch>
Exit mobile version