Branch: Tag:

2012-11-08

2012-11-08 13:52:52 by Jonas Wallden <jonasw@roxen.com>

Don't include newlines in base64 auth header. Part of [bug 6592].

Rev: server/config_interface/actions/resolv.pike:1.43
Rev: server/modules/configuration/roxen_test.pike:1.94
Rev: server/modules/configuration/update.pike:1.44
Rev: server/modules/tags/additional_rxml.pike:1.62
Rev: server/modules/tags/insert_cached_href.pike:1.34

7:   //<locale-token project="mod_insert_cached_href">LOCALE</locale-token>   #define LOCALE(X,Y) _DEF_LOCALE("mod_insert_cached_href",X,Y)    - constant cvs_version = "$Id: insert_cached_href.pike,v 1.33 2012/08/23 08:29:56 liin Exp $"; + constant cvs_version = "$Id: insert_cached_href.pike,v 1.34 2012/11/08 13:52:52 jonasw Exp $";      constant thread_safe = 1;   constant module_type = MODULE_TAG;
764:    if(url->user)    default_headers->authorization = "Basic "    + MIME.encode_base64(url->user + ":" + -  (url->password || "")); +  (url->password || ""), 1);       request_headers = default_headers | request_headers;    query=url->query;