Re: Strange ic behavior with png image usertag created

David Christensen <[email protected]> Wed, 13 Dec 2017 11:01:54 -0600
Newsgroups gmane.comp.web.interchange.users
Message-ID <[email protected]>
I’m definitely curious about the specific error from libpng.  Can you try running the equivalent UserTag code in pure perl and see what GD is complaining about?

> On Dec 13, 2017, at 10:52 AM, marco <[email protected]> wrote:
> 
> Il 10/12/2017 08:44, marco ha scritto:
>> Il 10/12/2017 04:03, David Christensen ha scritto:
>>> 
>>> 
>>>> On Dec 9, 2017, at 4:05 PM, marco <[email protected]
>>>> <mailto:[email protected]>> wrote:
>>>> 
>>>> With Variable DEBUG 1 in main configuration file interchange.cfg all
>>>> goes well but without ic DEBUG 1 web browser give
>>>> Internal Server Error and apache error.log give this:
>>>> 
>>>> [Sat Dec 09 20:26:35.274482 2017] [http:error] [pid 680] [client
>>>> 192.168.11.2:58795] AH02429: Response header name 'libpng warning'
>>>> contains invalid characters, aborting request, referer: ...
>>>> 
>>>> ... to ic page from where i call the usetag that give the error.
>>>> 
>>>> Searching for this issue I have find this apache page:
>>>> https://blog.tigertech.net/posts/apache-cve-2016-8743/
>>>> that give responsability to malformed http header.
>>>> 
>>>> my enviro:
>>>> - Debian GNU/Linux 9
>>>> - Interchange V5.10.0
>>>> - perl 5.24.1
>>>> 
>>>> Any suggestions ?
>>>> 
>>>> P.S.
>>>> I try to attach the usertag and the complete url that give the error
>>>> but mailer bounce back the message for suspicious header
>>> 
>>> This information would be the most helpful; any way you can paste at an
>>> external site and provide a link?
>>> 
>>> Best,
>>> 
>>> David
>>> --
>>> David Christensen
>>> End Point Corporation
>>> [email protected] <mailto:[email protected]>
>>> 785-727-1171
> Some other tries reveal that the problem is not DEBUG global var but bound to the declaration of DebugFile in the main interchange.cfg configuration files. With commented line:
> 
> #Variable DEBUG 1
> 
> if I declare out of the the block ifdef @DEBUG this line:
> 
> DebugFile debug.log
> 
> i can display the chart pie, without or commented this declaration I obtain:
> 
> Internal Server Error
> 
> and this log from apache2 (Apache/2.4.25 (Debian)):
> [Wed Dec 13 17:31:17.115286 2017] [http:error] [pid 1054] [client 192.168.11.2:34071] AH02429: Response header name 'libpng warning' contains invalid characters, aborting request, referer: https://newweb.omnib.it/cgi-bin/elcat/stat_ass.html?giorno=13&mese=11&anno=2017&giorno2=13&mese2=12&anno2=2017&min=&max=&cod_cli=&cli_order=des_cli&cod_resp=&da_chiamata=&go.x=18&go.y=27 <https://newweb.omnib.it/cgi-bin/elcat/stat_ass.html?giorno=13&mese=11&anno=2017&giorno2=13&mese2=12&anno2=2017&min=&max=&cod_cli=&cli_order=des_cli&cod_resp=&da_chiamata=&go.x=18&go.y=27>
> 
> --
> "Fino alla bara sinpara"
> "Up to demise we rize"
> 
> _______________________________________________
> interchange-users mailing list
> [email protected] <mailto:[email protected]>
> http://www.icdevgroup.org/mailman/listinfo/interchange-users <http://www.icdevgroup.org/mailman/listinfo/interchange-users>
--
David Christensen
End Point Corporation
[email protected]
785-727-1171

_______________________________________________
interchange-users mailing list
[email protected]
http://www.icdevgroup.org/mailman/listinfo/interchange-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECKA1l4YEfF4eK4/eN0ojyd+bZbgFAloxXQIACgkQN0ojyd+b
ZbiQ7g//WmuF5Tc8tOGA/qwU9ENVmNfdog9Tqwy76E/ZMYfk0eD5n8T9x62xngUn
g9evrDE5vFQd7W5F2JF9PD4yECMBfMq7bcKNMqrWnc/m+NB/GSxOuKwB+vIOqIae
05k+iz9F9wENHJnaVbyBHLvNLlObplmFVilBUkzLW+fifgX+OBj1S/KBfFL+dkaZ
vIcOiJ7zIZEU51WOFbzJpIHel8kjzc4iHM4ttisUUFDwiFheMj20B1HGfpGFRwFk
0E1XkDB+jxc0aI05kqt/5rTniaGcKTYsF2OZWHQ7nl7BVWU9YwOqnjipBY3k0FPB
x4HTZOHJNcg+HnCW/X30+r8BDAHhtiRG9KErN/qX/uOgVNvSKIKijC722JaIEOKq
3837lKlP5TV0Cf0drR06bAL0AwRwfN7BSL1PoCuzTHv1xljfIen//5fxr5u9gp3f
n1xxB5rgILTAgHu47SEz6JMvruXOdQJ6hGEtWEAtXpwJRfVcBOCwAhhVaQOPHAaH
eAp3T+HS9ngvoakWFpbO3Zez6GgUeI4al0WygHCJv6b1Yj8lzMLHUEiJ4xeApF1l
zx4UDR4lEP/yOYgAomfsBmHcJrYBrCIZlv1ft+L3OZr/6ZxShfI0SQIfLpWnD7Aa
ynlwzmwAXonfWo0Qlo3IHpSVPsDySwCfvn3H90EuBeEt2FKlgco=
=+OYR
-----END PGP SIGNATURE-----