diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-09-18 16:47:01 -0700 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-09-18 16:47:01 -0700 |
commit | b7777aee805f87b50d37977d2ce497d32cf32864 (patch) | |
tree | 08905dc465207c0868707a3d917e7d747218cd0b /template/en/default/global | |
parent | f5474782d742803f09b06fed275774d96cb629e7 (diff) | |
download | bugs-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.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> |