Ignore:
Timestamp:
May 12, 2014, 8:58:38 PM (11 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.6: updated vendor to latest version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/web/swat.c

    r746 r860  
    155155        uint8_t token[16];
    156156        int i;
     157        char *nonce = cgi_nonce();
    157158
    158159        token_str[0] = '\0';
     
    168169                MD5Update(&md5_ctx, (uint8_t *)pass, strlen(pass));
    169170        }
     171        MD5Update(&md5_ctx, (uint8_t *)nonce, strlen(nonce));
    170172
    171173        MD5Final(token, &md5_ctx);
     
    267269                printf("Expires: 0\r\n");
    268270        }
    269         printf("Content-type: text/html\r\n\r\n");
     271        printf("Content-type: text/html\r\n");
     272        printf("X-Frame-Options: DENY\r\n\r\n");
    270273
    271274        if (!include_html("include/header.html")) {
Note: See TracChangeset for help on using the changeset viewer.