Peertube: Report length limit too small and inconsistently enforced

Created on 8 Oct 2018  路  4Comments  路  Source: Chocobozzz/PeerTube

Noticed this issue on peertube.social, running PeerTube v1.0.0-rc.2

The report description length claims to be limited to 300 characters. This seems unnecessarily small, and I was already running into this limit just trying to link to three places where a video was reposted:

screen shot 2018-10-08 at 11 15 28 am

Then I tried shortening the message, and it failed with an internal server error, indicating that perhaps the length limits enforced by the client vs the server are inconsistent. After shortening it even further, the submit succeeded.

Component Type

Most helpful comment

Did you submit it with newlines? Cause it seems they got lost somewhere along the way:

screenshot_20181008_134208

It might also be a good idea if users could report multiple videos at once (or report an entire account).

All 4 comments

Did you submit it with newlines? Cause it seems they got lost somewhere along the way:

screenshot_20181008_134208

It might also be a good idea if users could report multiple videos at once (or report an entire account).

Yes, I included newlines. Is it interpreting the box as plain HTML i wonder, rather than some kind of preformatted text?

That seems to be it, if I inspect the HTML directly, it has newlines.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Jorropo picture Jorropo  路  3Comments

filmaidykai picture filmaidykai  路  3Comments

NoraCodes picture NoraCodes  路  3Comments

roipoussiere picture roipoussiere  路  3Comments

XenonFiber picture XenonFiber  路  3Comments