0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core
root@andrea:~# 3f91a9e8a2 Corrected 'Content-Length' header by using Buffer.byteLength (#10055)
Closes #10041
1. Why is this change neccesary?
String.prototype.length returns the number of code units in the string (number
of characters) while Buffer.byteLength returns the actual byte length of a
string.

2. How does it address the issue?
Places that use String.prototype.length to calculate Content-Length
were switched to Buffer.byteLength instead.
2018-10-25 09:18:36 +07:00
..
client@7fa889be90 Updated Ghost-Admin to 2.3.0 2018-10-22 15:41:19 +05:30
server Corrected 'Content-Length' header by using Buffer.byteLength (#10055) 2018-10-25 09:18:36 +07:00
test Refactored request unit tests to return promises (#10045) 2018-10-24 12:14:44 +07:00
index.js Changed where we trigger server start/stop announcement (#9815) 2018-08-22 13:28:31 +02:00