diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm index 71b46ee48..a086ce9c6 100644 --- a/lib/WebGUI/Asset.pm +++ b/lib/WebGUI/Asset.pm @@ -784,7 +784,14 @@ Returns the not found object. The not found object is set in the settings. =cut sub getNotFound { - return WebGUI::Asset->newByDynamicClass($session{setting}{notFoundPage}); + if ($session{wguri} eq "/abcdefghijklmnopqrstuvwxyz") { + return WebGUI::Asset->newByPropertyHashRef({ + className=>"WebGUI::Asset::Snippet", + snippet=>q|