Commit f17ef764 authored by Frank Becker's avatar Frank Becker Committed by Dave Lawrence

Bug 787697 - config.cgi uri is not unique for versions and target_milestones

r=dkl,LpSolit a=LpSolit
parent 5acbb0fe
...@@ -149,7 +149,8 @@ ...@@ -149,7 +149,8 @@
<bz:versions> <bz:versions>
<Seq> <Seq>
[% FOREACH version = product.versions %] [% FOREACH version = product.versions %]
<li resource="[% escaped_urlbase %]version.cgi?name=[% version.name FILTER uri %]"/> <li resource="[% escaped_urlbase %]version.cgi?name=[% version.name FILTER uri
%]&amp;product=[% product.name FILTER uri %]"/>
[% END %] [% END %]
</Seq> </Seq>
</bz:versions> </bz:versions>
...@@ -158,7 +159,8 @@ ...@@ -158,7 +159,8 @@
<bz:target_milestones> <bz:target_milestones>
<Seq> <Seq>
[% FOREACH milestone = product.milestones %] [% FOREACH milestone = product.milestones %]
<li resource="[% escaped_urlbase %]milestone.cgi?name=[% milestone.name FILTER uri %]"/> <li resource="[% escaped_urlbase %]milestone.cgi?name=[% milestone.name FILTER uri
%]&amp;product=[% product.name FILTER uri %]"/>
[% END %] [% END %]
</Seq> </Seq>
</bz:target_milestones> </bz:target_milestones>
...@@ -205,7 +207,8 @@ ...@@ -205,7 +207,8 @@
[% FOREACH product = products %] [% FOREACH product = products %]
[% FOREACH version = product.versions %] [% FOREACH version = product.versions %]
<li> <li>
<bz:version rdf:about="[% escaped_urlbase %]version.cgi?name=[% version.name FILTER uri %]"> <bz:version rdf:about="[% escaped_urlbase %]version.cgi?name=[% version.name FILTER uri
%]&amp;product=[% product.name FILTER uri %]">
<bz:name>[% version.name FILTER html %]</bz:name> <bz:name>[% version.name FILTER html %]</bz:name>
<bz:is_active>[% version.is_active FILTER html %]</bz:is_active> <bz:is_active>[% version.is_active FILTER html %]</bz:is_active>
</bz:version> </bz:version>
...@@ -221,7 +224,8 @@ ...@@ -221,7 +224,8 @@
[% FOREACH product = products %] [% FOREACH product = products %]
[% FOREACH milestone = product.milestones %] [% FOREACH milestone = product.milestones %]
<li> <li>
<bz:target_milestone rdf:about="[% escaped_urlbase %]milestone.cgi?name=[% milestone.name FILTER uri %]"> <bz:target_milestone rdf:about="[% escaped_urlbase %]milestone.cgi?name=[% milestone.name FILTER uri
%]&amp;product=[% product.name FILTER uri %]">
<bz:name>[% milestone.name FILTER html %]</bz:name> <bz:name>[% milestone.name FILTER html %]</bz:name>
<bz:is_active>[% milestone.is_active FILTER html %]</bz:is_active> <bz:is_active>[% milestone.is_active FILTER html %]</bz:is_active>
</bz:target_milestone> </bz:target_milestone>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment