<p dir="auto">This sets reasonable length limits on user descriptions, diary entries and diary comments.</p>
<p dir="auto">Limits have been set after an analysis of existing data to try and avoid hitting any genuine and reasonable content.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/6047'>https://github.com/openstreetmap/openstreetmap-website/pull/6047</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6047/commits/21d0aee0092576120f8be34561fa908eb07fd5c9" class="commit-link">21d0aee</a> Limit user descriptions to 64Kb</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6047/commits/cb5570327be8060f58c332de1d762afd2b0a6115" class="commit-link">cb55703</a> Limit diary entries to 256Kb</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6047/commits/f09cede3ba22a6b3260c69b184700c5cf89735c2" class="commit-link">f09cede</a> Limit diary comments to 64Kb</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6047/files">7 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6047/files#diff-29beaabe278fd17493296745cecb67919f0906b47b8246ab770f5517615d9ef7">.rubocop_todo.yml</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6047/files#diff-45eae222ff15432b9a50b31a241a4425e6bb98fb42f5704b64bf5b326574937b">app/models/diary_comment.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6047/files#diff-d8b3d068c5bcf3464bff0f2273bab8d609b7f6b4afd6089020aff892dc4ce88f">app/models/diary_entry.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6047/files#diff-9802ca3c9c4cf89904fd44bc114e35ebdf2c5dd3d5b645491e2b253e1afef29b">app/models/user.rb</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6047/files#diff-9279f2fd07e55195c8a8cc7f937896be053f5c37dca0481e5bd3d487dcf879e3">test/models/diary_comment_test.rb</a>
(9)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6047/files#diff-075b225564d8d03a13f5ae8eae9a31fa4e0f655622b405a28f715ed467cbeebe">test/models/diary_entry_test.rb</a>
(3)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6047/files#diff-91bef9fda3c55514e23a4a8edba948f68aad59b57951adcff0b11e9ea9159854">test/models/user_test.rb</a>
(12)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6047.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/6047.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6047.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/6047.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6047">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLQIJHCWK7ZE4JUWFT275YX3AVCNFSM6AAAAAB5ZPINA2VHI2DSMVQWIX3LMV43ASLTON2WKOZTGA4DOMZSHA2DAOI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMDSUB2KF4FBWVLUED275YX3A5CNFSM6AAAAAB5ZPINA2WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHLQBHETE.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/6047</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/6047",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6047",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>