0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/api/v0.1
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
..
decorators 🐛 Fixed 'url' attribute miscalculation when when requested as the only part of fields filter (#9969) 2018-10-15 14:47:56 +02:00
authentication.js
clients.js
configuration.js
db.js
index.js Corrected 'Content-Length' header by using Buffer.byteLength (#10055) 2018-10-25 09:18:36 +07:00
invites.js Moved custom invite permission to permissible fn 2018-10-05 15:38:14 +02:00
mail.js
notifications.js
oembed.js
posts.js 🐛 Fixed 'url' attribute miscalculation when when requested as the only part of fields filter (#9969) 2018-10-15 14:47:56 +02:00
redirects.js
roles.js
schedules.js
settings.js
slack.js
slugs.js
subscribers.js
tags.js 🐛 Fixed 'url' attribute miscalculation when when requested as the only part of fields filter (#9969) 2018-10-15 14:47:56 +02:00
themes.js
upload.js
users.js 🐛 Fixed 'url' attribute miscalculation when when requested as the only part of fields filter (#9969) 2018-10-15 14:47:56 +02:00
utils.js
webhooks.js Added new site.changed event and webhook trigger service (#10019) 2018-10-19 00:01:30 +05:30