From 680e4cf431f27a86ecd61f80030c0a9e41aad8b3 Mon Sep 17 00:00:00 2001 From: Andrew Nimmo <100512+andrewnimmo@users.noreply.github.com> Date: Wed, 14 Oct 2020 17:21:59 +0200 Subject: [PATCH] Avoid Safari telephone number detection Using PowerDNS-Admin on an iPad with Safari can cause incorrect identification of some record data as a telephone number. When submitted, the record with the incorrectly identified data causes an error because of the additional markup present on the submitted data. This was noted in particular with the SOA record. The proposed change is to add the Safari meta tag to disable format detection: https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html#//apple_ref/doc/uid/TP40008193-SW5 --- powerdnsadmin/templates/base.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/powerdnsadmin/templates/base.html b/powerdnsadmin/templates/base.html index 589a09f..ab5167c 100644 --- a/powerdnsadmin/templates/base.html +++ b/powerdnsadmin/templates/base.html @@ -16,6 +16,8 @@ {% endif %} + + {% assets "css_main" -%} {%- endassets %}