Re: [PATCH] Separate SSL error detail name and message

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 13 May 2011 23:29:25 +1200

On 13/05/11 23:02, Tsantilas Christos wrote:
> Just a question on this patch.
> Should I update the "Release Notes" about the new error page formating
> code?
>
>
>
> On 05/13/2011 11:12 AM, Tsantilas Christos wrote:
>> On 05/11/2011 03:22 PM, Amos Jeffries wrote:
>>> On 11/05/11 22:10, Tsantilas Christos wrote:
>>>> Currently, SSL error detail in Squid-generated error pages (%D)
>>>> contains
>>>> both the error name and the explanation text.
>>>>
>>>> Some folks using this feature want to render the two pieces of
>>>> information differently because the error name is not something most
>>>> end-users should read or focus on.
>>>>
>>>> This patch adds the "%x" error page formating code which prints the
>>>> error name, and removes the error name (%err_name) from SSL error
>>>> detail
>>>> messages.
>>>>
>>>> This is a Measurement Factory project
>>>
>>> Please use the bool building_deny_info_url to prevent whitespace
>>> ("[Unknown Error Code]") in the NIL case being added to URLs.
>>
>> Document the "%x" to the deny_info parameter required too...
>>
>> (Also a " if (!building_deny_info_url) break;" must added for the "%D"
>> error code, todo )
>>
>> If there is not any objection I will commit this patch later today.
>>

I'm kind of hoping we can keep all these new codes out of wide
circulation though. The errorpage.cc is going to get updated to use the
same set of tags as logformat. We have a long uphill battle ahead to
deprecate these codes.

It can be published to the world when its added to logformat.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.7 and 3.1.12.1
Received on Fri May 13 2011 - 11:29:32 MDT

This archive was generated by hypermail 2.2.0 : Fri May 13 2011 - 12:00:04 MDT