aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-09-18 16:47:01 -0700
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-09-18 16:47:01 -0700
commitb7777aee805f87b50d37977d2ce497d32cf32864 (patch)
tree08905dc465207c0868707a3d917e7d747218cd0b /template/en/default/global
parentf5474782d742803f09b06fed275774d96cb629e7 (diff)
downloadbugs-b7777aee805f87b50d37977d2ce497d32cf32864.tar
bugs-b7777aee805f87b50d37977d2ce497d32cf32864.tar.gz
bugs-b7777aee805f87b50d37977d2ce497d32cf32864.tar.bz2
bugs-b7777aee805f87b50d37977d2ce497d32cf32864.tar.xz
bugs-b7777aee805f87b50d37977d2ce497d32cf32864.zip
Bug 593170: Disallow urls like "show_bug.cgi?id=2323" (with no domain) in
the See Also field. r=timello, a=mkanat
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/user-error.html.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index a885f4b34..5d690db17 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -245,6 +245,8 @@
<code>[% url FILTER html %]</code> is not a valid URL to [% terms.abug %].
[% IF reason == 'http' %]
URLs must start with "http" or "https".
+ [% ELSIF reason == 'path_only' %]
+ You must specify a full URL.
[% ELSIF reason == 'show_bug' %]
[%+ field_descs.see_also %] URLs should point to one of:
<ul>