diff --git a/wire/core/Page.php b/wire/core/Page.php index 6b083acb..1d76733d 100644 --- a/wire/core/Page.php +++ b/wire/core/Page.php @@ -1536,7 +1536,7 @@ class Page extends WireData implements \Countable, WireMatchable { */ public function setName($value, $language = null) { - if(!$this->isLoaded && empty($language) && is_string($value)) { + if(!$this->isLoaded && empty($language) && is_string($value) && strpos($value, 'xn-') !== 0) { $this->settings['name'] = $value; } else { $this->values()->setName($this, $value, $language);