diff options
| author | 2022-09-05 13:13:07 +0200 | |
|---|---|---|
| committer | 2022-09-05 13:13:07 +0200 | |
| commit | 3b81708c1aa7dc0be9fbd017a85a57855094b57d (patch) | |
| tree | a9028870c6de31153ed3bca1bc6276b5de55cfc1 /cli/create-user.php | |
| parent | 442019a0548d3f1d888419930d38f1986e5cd773 (diff) | |
API protection limit content size (#4583)
* API protection limit content size
We had no limit to the length of an article sent through our GReader API to clients, which was a problem:
The article https://devblogs.microsoft.com/dotnet/performance_improvements_in_net_7/
from the feed https://devblogs.microsoft.com/dotnet/feed/
is about 700KB long, which makes some clients (tested with News+) fail.
We should try other clients to verify that 500KB is a safe enough limit.
* Light optimisation
* Use class constant
Diffstat (limited to 'cli/create-user.php')
0 files changed, 0 insertions, 0 deletions
