mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
@@ -135,7 +135,7 @@ function validateMAC(mac) {
|
||||
}
|
||||
|
||||
function validateHostname(name) {
|
||||
var namevalidator = new RegExp(/[^<>;\"]/);
|
||||
var namevalidator = new RegExp(/[^<>;"]/);
|
||||
return namevalidator.test(name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user