Commit 9e518c6b authored by Simon Green's avatar Simon Green

Bug 399078 - Remove the 'musthavemilestoneonaccept' parameter

r=gerv, a=simon
parent f578f796
...@@ -62,7 +62,6 @@ use constant PARAMETERS_LOGGED_IN => qw( ...@@ -62,7 +62,6 @@ use constant PARAMETERS_LOGGED_IN => qw(
attachment_base attachment_base
commentonchange_resolution commentonchange_resolution
commentonduplicate commentonduplicate
cookiepath
defaultopsys defaultopsys
defaultplatform defaultplatform
defaultpriority defaultpriority
...@@ -443,7 +442,6 @@ A logged-in user can access the following parameters (listed alphabetically): ...@@ -443,7 +442,6 @@ A logged-in user can access the following parameters (listed alphabetically):
C<attachment_base>, C<attachment_base>,
C<commentonchange_resolution>, C<commentonchange_resolution>,
C<commentonduplicate>, C<commentonduplicate>,
C<cookiepath>,
C<defaultopsys>, C<defaultopsys>,
C<defaultplatform>, C<defaultplatform>,
C<defaultpriority>, C<defaultpriority>,
......
...@@ -430,7 +430,8 @@ sub send_cookie { ...@@ -430,7 +430,8 @@ sub send_cookie {
ThrowCodeError('cookies_need_value') unless $paramhash{'-value'}; ThrowCodeError('cookies_need_value') unless $paramhash{'-value'};
# Add the default path and the domain in. # Add the default path and the domain in.
$paramhash{'-path'} = Bugzilla->params->{'cookiepath'}; my $uri = URI->new(Bugzilla->params->{urlbase});
$paramhash{'-path'} = $uri->path;
$paramhash{'-domain'} = Bugzilla->params->{'cookiedomain'} $paramhash{'-domain'} = Bugzilla->params->{'cookiedomain'}
if Bugzilla->params->{'cookiedomain'}; if Bugzilla->params->{'cookiedomain'};
......
...@@ -35,12 +35,6 @@ use constant get_param_list => ( ...@@ -35,12 +35,6 @@ use constant get_param_list => (
default => '', default => '',
checker => \&check_sslbase checker => \&check_sslbase
}, },
{
name => 'cookiepath',
type => 't',
default => '/'
},
); );
1; 1;
...@@ -56,7 +56,6 @@ use constant PARAMETERS_LOGGED_IN => qw( ...@@ -56,7 +56,6 @@ use constant PARAMETERS_LOGGED_IN => qw(
attachment_base attachment_base
commentonchange_resolution commentonchange_resolution
commentonduplicate commentonduplicate
cookiepath
defaultopsys defaultopsys
defaultplatform defaultplatform
defaultpriority defaultpriority
...@@ -412,7 +411,6 @@ A logged-in user can access the following parameters (listed alphabetically): ...@@ -412,7 +411,6 @@ A logged-in user can access the following parameters (listed alphabetically):
C<attachment_base>, C<attachment_base>,
C<commentonchange_resolution>, C<commentonchange_resolution>,
C<commentonduplicate>, C<commentonduplicate>,
C<cookiepath>,
C<defaultopsys>, C<defaultopsys>,
C<defaultplatform>, C<defaultplatform>,
C<defaultpriority>, C<defaultpriority>,
......
...@@ -40,15 +40,6 @@ sslbase ...@@ -40,15 +40,6 @@ sslbase
the :param:`sslbase` should be set the :param:`sslbase` should be set
to :paramval:`https://www.foo.com/bugzilla/`. to :paramval:`https://www.foo.com/bugzilla/`.
cookiepath
Defines a path, relative to the web document root, that Bugzilla
cookies will be restricted to. For example, if the
:param:`urlbase` is set to
:file:`http://www.foo.com/bugzilla/`, the
:param:`cookiepath` should be set to
:paramval:`/bugzilla/`. Setting it to :paramval:`/` will allow all sites
served by this web server or virtual host to read Bugzilla cookies.
.. _param-general: .. _param-general:
General General
......
...@@ -171,7 +171,6 @@ Example response for authenticated user: ...@@ -171,7 +171,6 @@ Example response for authenticated user:
"attachment_base" : "http://bugzilla.example.com/", "attachment_base" : "http://bugzilla.example.com/",
"commentonchange_resolution" : "0", "commentonchange_resolution" : "0",
"commentonduplicate" : "0", "commentonduplicate" : "0",
"cookiepath" : "/",
"createemailregexp" : ".*", "createemailregexp" : ".*",
"defaultopsys" : "", "defaultopsys" : "",
"defaultplatform" : "", "defaultplatform" : "",
...@@ -209,7 +208,6 @@ A logged-in user can access the following parameters (listed alphabetically): ...@@ -209,7 +208,6 @@ A logged-in user can access the following parameters (listed alphabetically):
* attachment_base * attachment_base
* commentonchange_resolution * commentonchange_resolution
* commentonduplicate * commentonduplicate
* cookiepath
* defaultopsys * defaultopsys
* defaultplatform * defaultplatform
* defaultpriority * defaultpriority
......
...@@ -24,12 +24,4 @@ ...@@ -24,12 +24,4 @@
_ " using the <var>sslbase</var> parameter. Also, when this is enabled," _ " using the <var>sslbase</var> parameter. Also, when this is enabled,"
_ " Bugzilla will send out links using <var>sslbase</var> in emails" _ " Bugzilla will send out links using <var>sslbase</var> in emails"
_ " instead of <var>urlbase</var>.", _ " instead of <var>urlbase</var>.",
cookiepath => "Path, relative to your web document root, to which to restrict " _
"Bugzilla cookies. Normally this is the URI portion of your URL " _
"base. Begin with a / (single slash mark). For instance, if " _
"Bugzilla serves from 'http://www.somedomain.com/bugzilla/', set " _
"this parameter to /bugzilla/. Setting it to / will allow " _
"all sites served by this web server or virtual host to read " _
"Bugzilla cookies.",
} %] } %]
...@@ -183,7 +183,6 @@ ...@@ -183,7 +183,6 @@
#%] #%]
var BUGZILLA = { var BUGZILLA = {
param: { param: {
cookiepath: '[% Param('cookiepath') FILTER js %]',
maxusermatches: [% Param('maxusermatches') FILTER js %] maxusermatches: [% Param('maxusermatches') FILTER js %]
}, },
constant: { constant: {
......
...@@ -36,9 +36,6 @@ ...@@ -36,9 +36,6 @@
reason you see this page: as long as this parameter is not set, you will see this reason you see this page: as long as this parameter is not set, you will see this
page again and again).</li> page again and again).</li>
<li><a href="editparams.cgi?section=core#cookiepath_desc">cookiepath</a> is important
for your browser to manage your cookies correctly.</li>
<li><a href="editparams.cgi?section=general#maintainer_desc">maintainer</a>, <li><a href="editparams.cgi?section=general#maintainer_desc">maintainer</a>,
the person responsible for this installation if something is the person responsible for this installation if something is
running wrongly.</li> running wrongly.</li>
......
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