mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Use MIME type instead of explicit filetype endings during the file selection of the Teleporter input field. Even when the latter should be fine according to the standards, Safari (and, in general, any browser on Mac) seems to ignore this and support only mimetype-based selections. This is backed by several similar reports on Stackoverflow over the past couple of years.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -38,7 +38,7 @@ mg.include('scripts/pi-hole/lua/settings_header.lp','r')
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label for="file">File input</label>
|
||||
<input type="file" name="file" id="file" accept=".zip,.tar.gz">
|
||||
<input type="file" name="file" id="file" accept="application/gzip,application/zip">
|
||||
<p class="help-block">When importing settings from a <em>newer</em> version of Pi-hole, not yet existing settings will be ignored. When importing from an <em>older</em> version of Pi-hole, settings for newer features will be initialized with their default values.</p>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
|
||||
Reference in New Issue
Block a user