diff options
author | Joey Hess <joey@kitenet.net> | 2012-07-31 20:56:10 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-07-31 20:56:10 -0400 |
commit | bab80bf24ada54f8dec2a35bbb77219441719f6a (patch) | |
tree | bf50073cd769cff830bbcd41975491bf0df1a45b /templates/configurators | |
parent | c950e8fba0de95f3a102b2653f70457fc8f19ab3 (diff) |
full input validation for repository path
Expands ~ , checks for every crazy input problem I can think of
Diffstat (limited to 'templates/configurators')
-rw-r--r-- | templates/configurators/addrepository/form.hamlet | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/configurators/addrepository/form.hamlet b/templates/configurators/addrepository/form.hamlet index fa5d07f2d..e72dbcf43 100644 --- a/templates/configurators/addrepository/form.hamlet +++ b/templates/configurators/addrepository/form.hamlet @@ -6,3 +6,6 @@ ^{fvInput pathView} <button type=submit .btn> Make Repository +$if err + <div .alert .alert-error> + #{errmsg} |