about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/lib/formatter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb
index 590846acb..524e09247 100644
--- a/app/lib/formatter.rb
+++ b/app/lib/formatter.rb
@@ -36,7 +36,7 @@ class Formatter
 			description: '', example: '',
       require_between: true,
       allow_quick_param: true, allow_between_as_param: true,
-      quick_param_format: %r{^((((https?|ftps?|sftp|ircs?|telnets?|dat)://)|/).+)$},
+      quick_param_format: %r{^(\S+://\S+|/\S+)$},
       quick_param_format_description: '',
 			param_tokens: [{token: :url}]
     },