Re: totally WEIRD bug? Firefox caching? [message #185387 is a reply to message #185385] |
Sat, 22 March 2014 12:10 |
The Natural Philosoph
Messages: 993 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 22/03/14 06:24, Nisse Engström wrote:
> On Thu, 20 Mar 2014 18:39:10 +0000, The Natural Philosopher wrote:
>
>> The problem is that it didn't send an error code in the header
>>
>> It sent a valid header, the some error text, and then the PNG
>>
>> I generate all my own headers so there's a strange bug somewhere, but at
>> least I know where to look.
>
> I don't know if it is relevant, but there's a long standing bug
> in Apache where it sends its own HTTP response after the output
> of an NPH-scipt. If I recall correctly.
>
Mmm.
I took a break from coding after tearing my hair out on this one. So I
still haven't tracked it down to the bottom. I needed to step back and
look at the authorisation mechanisms which were getting so complicated
even I didn't entirely understand them, and write some documentation on
them and construct some state machine charts so that I could look at
them and construct the right conditional tests for a 2D matrix of
authorisation possibilities.
Because the problem had two aspects - firstly it was failing
authorisation when it shouldn't, and secondly it wasn't behaving
correctly for refused authorisation.
But I will bear that in mind.
And thanks to all those who prompted things that were in fact the wrong
answers, because in the end that led me to the right answer.
>
> /Nisse
>
--
Ineptocracy
(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
|
|
|