Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Asset Template does not use api_assets config #2255

Open
jlayt opened this issue Feb 3, 2025 · 0 comments
Open

Add Asset Template does not use api_assets config #2255

jlayt opened this issue Feb 3, 2025 · 0 comments

Comments

@jlayt
Copy link

jlayt commented Feb 3, 2025

The allowed Asset media types and file extensions are configured using api_assets in module.config.php and local.config.php. AssetAdapter uses these settings in server-side validation, but the client-side validation in application/view/omeka/asset/add-form.phtml does not use the settings and hard codes the allowed extensions instead. The add-form should be using the config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant