Re: Strange ic behavior with png image usertag created

David Christensen <[email protected]> Wed, 13 Dec 2017 11:02:55 -0600
Newsgroups gmane.comp.web.interchange.users
Message-ID <[email protected]>
It definitely sounds like the library is issuing a warning that gets output to the browser before the actual headers, so fixing this error would solve the issue.

> On Dec 13, 2017, at 11:01 AM, David Christensen <[email protected]> wrote:
> 
> 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] <mailto:[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]>
>>>>> <mailto:[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/ <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]> <mailto:[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] <mailto:[email protected]>
> 785-727-1171
> 
> 
> 

--
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+bZbgFAloxXT8ACgkQN0ojyd+b
ZbgOXg/7BmczA4s1+wYCVHrlmLYvelTNT2Xq3yiBHvqulqvUCDGwhNvZ+W8eogin
IW4jE7XBtp1ZpOlAM/Tee4tRa+uWZMw5ULQmY/sfb/M7zKjt+yTYuvUNzK9QyfJL
dsxDYDuMqF6+qGN7I8UVlLoEtasanDblR52wnpSw9qfvhLrfO+1pXt6AM2E519hP
81bvnN+3h87/8SYKTq3ZssBweQaI4FlnMsp8uHwMBXq9AJdKAfOToTKohHUhzxla
WRPlDXnE57M/CHaWcg9gUhO/08TvfdRKlKqornHF/Pig86oLoFBGc1Hhit/JB5Oh
Hla/pMek3c5smZMXgVLcrYUSOp+hWh+Xgu+3UMafcJsZ/Rv1IEJvbRcqoqqNtr90
ojmkJjI6cWOVuvk/r2q3or/QUCy4Smpq8QnP7xmzQmx6IMo8msoaznSV1ho2uOYt
xnMvWJNhlmJj5pS7+oBQTkrm2/4POunzOdBL4SAurKLW5y5qLxfDriDo0g+r+gFW
MZdUtPEbGKbxVTJa5Wa4mm+pWACuE0680KhPBGc2JKx4t+Q3H0SmbOnvTLxMy+kx
Ro2i0JsXzl9pa/IS1RIWyj/8AoZfAhzwDh8aqCled7I9SWPVtEUMJb9nmvYUUmIt
FKfQoK04D7mQR3ttb7Xwsx6dM089IxzkopxjjQuSAurbDPwl+p0=
=CLf7
-----END PGP SIGNATURE-----