From: Christos Tsantilas Date: Thu, 27 Oct 2011 15:22:21 +0000 (+0300) Subject: Bug fix: The multi-language support is broken for Ssl error details X-Git-Tag: BumpSslServerFirst.take01~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1febfec51b9da17884192e692c4c7bc7534bd0dc;p=thirdparty%2Fsquid.git Bug fix: The multi-language support is broken for Ssl error details Current Ssl::ErrorDetail::useRequest never sets the ErrorDetail::request member.The ErrorDetail::request member used to select the correct language for the web client from Accept-Language header. --- diff --git a/src/ssl/ErrorDetail.h b/src/ssl/ErrorDetail.h index 131f4318af..ecef450003 100644 --- a/src/ssl/ErrorDetail.h +++ b/src/ssl/ErrorDetail.h @@ -49,7 +49,7 @@ public: ErrorDetail(ssl_error_t err_no, X509 *cert); ErrorDetail(ErrorDetail const &); const String &toString() const; ///< An error detail string to embed in squid error pages - void useRequest(HttpRequest *aRequest) { if (request != NULL) request = aRequest;} + void useRequest(HttpRequest *aRequest) { if (aRequest != NULL) request = aRequest;} /// The error name to embed in squid error pages const char *errorName() const {return err_code();}