]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug fix: The multi-language support is broken for Ssl error details
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 27 Oct 2011 15:22:21 +0000 (18:22 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 27 Oct 2011 15:22:21 +0000 (18:22 +0300)
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.

src/ssl/ErrorDetail.h

index 131f4318afc8380a9c7c4f895e39d7af429276de..ecef450003b477614aecb086e51656dd56543f36 100644 (file)
@@ -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();}