diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-09-19 01:47:01 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-09-19 01:47:01 +0200 |
commit | b7777aee805f87b50d37977d2ce497d32cf32864 (patch) | |
tree | 08905dc465207c0868707a3d917e7d747218cd0b /template/en/default | |
parent | f5474782d742803f09b06fed275774d96cb629e7 (diff) | |
download | bugzilla-b7777aee805f87b50d37977d2ce497d32cf32864.tar.gz bugzilla-b7777aee805f87b50d37977d2ce497d32cf32864.tar.xz |
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')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 2 |
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> |