Closed Bug 154627 Opened 22 years ago Closed 22 years ago

processmail.pl taint problem on W32/Apache

Categories

(Bugzilla :: Bugzilla-General, defect)

2.16
x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: big_eugene, Assigned: justdave)

References

Details

(Whiteboard: [blocker will fix] [needed for Win32bz])

When I submit New Bug Report:

-------------------
-- In Error Log: --
-------------------
Premature end of script headers: d:/usr/bugzilla-2.16rc1/post_bug.cgi
Too late for "-T" option at ./processmail.pl line 1.



-----------------------------------------
-- In Browser I receive Error message: --
-----------------------------------------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to 
complete your request.
Please contact the server administrator, bugs-admin@localhost.localdomain and 
inform them of the time the error occurred, and anything you might have done 
that may have caused the error.
------------------------------------------



[Thu Jun 27 18:20:44 2002] [error] [client 10.1.10.166] Premature end of script 
headers: d:/usr/bugzilla-2.16rc1/post_bug.cgi
[Thu Jun 27 18:20:44 2002] [error] [client 10.1.10.166] Too late for "-T" 
option at ./processmail.pl line 1.
What web server are you using?  If you're using IIS, there's some additional
setup you have to do for taint mode to work.  There's a bunch of discussion
about it in bug 140784
Question: have you read the Windows installation notes in the documentation?

http://www.bugzilla.org/docs216/html/win32.html
I have Windows 2000 and Apache 1.3 installed.

After removing -T flag from "#!d:/perl/bin/perl -wT"
it seems to work
Removing the -T flag will affect security, so you really don't want to do that.

Have you read the win32 instructions?
Yes, I have read instructions for Win32.
And?

Could you tell me what is wrong?
Or, at least, where it could be wrong?
This is just the tip of the problems involved in our current Win32 support or
lack thereof. While bbaetz is right about removing -T being the wrong solution,
it's the simplest one by far. If you want to use the -T, see bug 124174 comment
0 for a proposal on how you might want to do the processmail calls.

For a long term solution, you're going to want to apply the patch from the
mentioned bug, since that fixes the mail interface much more coolly anyway. Or
wait for 2.18 where it will be built-in.
Depends on: 124174
Summary: #!d:/perl/bin/perl -wT → processmail.pl taint problem on W32/Apache
Whiteboard: [blocker will fix] Win32
Target Milestone: --- → Bugzilla 2.18
Whiteboard: [blocker will fix] Win32 → [blocker will fix] [needed for Win32bz]
This was fixed by the checkin for bug 124174.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.