Skip to content

A free open source IT asset/license management system

Fixed #8669 - Allow application/xml in SAML upload in Safari

snipe7765c873874c
diff --git a/resources/views/settings/saml.blade.php b/resources/views/settings/saml.blade.php
index 2f0a0d1e7c..f4a53f6cbe 100644
--- a/resources/views/settings/saml.blade.php
+++ b/resources/views/settings/saml.blade.php
@@ -101,7 +101,7 @@
<button type="button" class="btn btn-default" id="saml_idp_metadata_upload_btn">{{ trans('button.select_file') }}</button>
<input type="file" class="js-uploadFile" id="saml_idp_metadata_upload"
data-maxsize="{{ \App\Helpers\Helper::file_upload_max_size() }}"
- accept="text/*" style="display:none; max-width: 90%">
+ accept="text/xml,application/xml" style="display:none; max-width: 90%">
<p class="help-block">{{ trans('admin/settings/general.saml_idp_metadata_help') }}</p>
</div>