Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
94998431
Commit
94998431
authored
Jul 24, 2008
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 445104: ssl redirects come with a 200 OK HTTP code on mod_perl
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
parent
9f35bd3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
CGI.pm
Bugzilla/CGI.pm
+5
-1
No files found.
Bugzilla/CGI.pm
View file @
94998431
...
...
@@ -307,7 +307,11 @@ sub require_https {
$url
=
$self
->
self_url
;
$url
=~
s/^http:/https:/i
;
}
print
$self
->
redirect
(
-
location
=>
$url
,
-
status
=>
$status
)
.
"\n"
;
print
$self
->
redirect
(
-
location
=>
$url
,
-
status
=>
$status
);
# When using XML-RPC with mod_perl, we need the headers sent immediately.
# We used to do this by appending a newline to $self->redirect, but
# that breaks normal web browser redirects.
$self
->
r
->
rflush
if
$ENV
{
MOD_PERL
};
exit
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment