~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/media/common/util.js

  • Committer: mattgiuca
  • Date: 2008-01-28 23:04:08 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:315
trampoline/trampoline.c: Added 2 includes, which are required
for the "umask" function. (This wasn't a problem on Ubuntu 7.10 but is for
older versions).

Show diffs side-by-side

added added

removed removed

Lines of Context:
428
428
    {
429
429
        /* FIXME: Encoding not supported here (should not matter if we
430
430
         * only use ASCII names */
431
 
        data += "--" + boundary + "\n"
 
431
        data += "--" + boundary + "\r\n"
432
432
            + "Content-Disposition: form-data; name=\"" + arg_key
433
 
            + "\"\n\n"
434
 
            + arg_val + "\n";
 
433
            + "\"\r\n\r\n"
 
434
            + arg_val + "\r\n";
435
435
    }
436
436
 
437
437
    for (var arg_key in args)
446
446
            extend_data(arg_key, arg_val);
447
447
    }
448
448
    /* End boundary */
449
 
    data += "--" + boundary + "--\n";
 
449
    data += "--" + boundary + "--\r\n";
450
450
 
451
451
    return data;
452
452
}