0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server
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
..
adapters
api Corrected 'Content-Length' header by using Buffer.byteLength (#10055) 2018-10-25 09:18:36 +07:00
apps Changed entry lookup helper to respect the resource type 2018-10-18 19:41:07 +02:00
config Supported reading ghost api engine 2018-10-18 19:41:07 +02:00
data Added edit webhook route to v2 Admin API (#10033) 2018-10-19 18:35:55 +01:00
helpers Extended {{get}} helper to query "pages" 2018-10-18 19:41:07 +02:00
lib Extended sequence utility 2018-10-03 00:17:45 +02:00
models Added HTTP BREAD for integrations resource (#9985) 2018-10-18 14:03:56 +01:00
public Removed change frequency and priority fields from sitemap generator (#9771) 2018-09-24 19:16:31 +02:00
services Updated webhook request header and last triggered error mssg (#10035) 2018-10-19 14:11:03 +01:00
translations Added edit webhook route to v2 Admin API (#10033) 2018-10-19 18:35:55 +01:00
views
web Added edit webhook route to v2 Admin API (#10033) 2018-10-19 18:35:55 +01:00
analytics-events.js
filters.js
ghost-server.js
index.js Refactored method urlFor to use versionType instead of admin: true 2018-10-04 16:49:55 +05:30
overrides.js
update-check.js Migrated update check to use api v2 2018-10-18 00:13:31 +02:00