attachment_base
commentonchange_resolution
commentonduplicate
- cookiepath
defaultopsys
defaultplatform
defaultpriority
C<attachment_base>,
C<commentonchange_resolution>,
C<commentonduplicate>,
- C<cookiepath>,
C<defaultopsys>,
C<defaultplatform>,
C<defaultpriority>,
ThrowCodeError('cookies_need_value') unless $paramhash{'-value'};
# 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'}
if Bugzilla->params->{'cookiedomain'};
default => '',
checker => \&check_sslbase
},
-
- {
- name => 'cookiepath',
- type => 't',
- default => '/'
- },
);
1;
attachment_base
commentonchange_resolution
commentonduplicate
- cookiepath
defaultopsys
defaultplatform
defaultpriority
C<attachment_base>,
C<commentonchange_resolution>,
C<commentonduplicate>,
- C<cookiepath>,
C<defaultopsys>,
C<defaultplatform>,
C<defaultpriority>,
the :param:`sslbase` should be set
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:
General
"attachment_base" : "http://bugzilla.example.com/",
"commentonchange_resolution" : "0",
"commentonduplicate" : "0",
- "cookiepath" : "/",
"createemailregexp" : ".*",
"defaultopsys" : "",
"defaultplatform" : "",
* attachment_base
* commentonchange_resolution
* commentonduplicate
-* cookiepath
* defaultopsys
* defaultplatform
* defaultpriority
_ " using the <var>sslbase</var> parameter. Also, when this is enabled,"
_ " Bugzilla will send out links using <var>sslbase</var> in emails"
_ " 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.",
} %]
#%]
var BUGZILLA = {
param: {
- cookiepath: '[% Param('cookiepath') FILTER js %]',
maxusermatches: [% Param('maxusermatches') FILTER js %]
},
constant: {
reason you see this page: as long as this parameter is not set, you will see this
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>,
the person responsible for this installation if something is
running wrongly.</li>