mod_custom_redirect: check for access permission when saving configuration.
core: fix for mimetypes where 'image/jpeg' returns preferred extension '.jpe' (instead of '.jpg')