RWSN#34832 Geen Basic Authentication sturen als username null
svn path=/Website/branches/v2015.2/; revision=27517
This commit is contained in:
@@ -47,7 +47,7 @@ function submitHTTP( p_connect
|
||||
// Call XMLhttp.setOption(SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS, secu)
|
||||
XMLhttp.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
|
||||
|
||||
if (p_bedrijfadres.username != "")
|
||||
if (p_bedrijfadres.username)
|
||||
{
|
||||
var base64 = new Base64Cls();
|
||||
XMLhttp.setRequestHeader("Authorization", "Basic " + base64.encode(p_bedrijfadres.username + ":" + p_bedrijfadres.password));
|
||||
|
||||
Reference in New Issue
Block a user