diff --git a/app/controllers/api/proxy.php b/app/controllers/api/proxy.php index 6b93912a2a..23916a114c 100644 --- a/app/controllers/api/proxy.php +++ b/app/controllers/api/proxy.php @@ -90,7 +90,7 @@ App::post('/v1/proxy/rules') try { $domain = new Domain($domain); } catch (\Exception) { - throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'Invalid domain. Domain may not start with http:// or https://.'); + throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'Domain may not start with http:// or https://.'); } $ruleId = ID::unique();