Discourse URL length limit (500)

Take care when you link to edit searches as the links will be truncated to 500 characters only, which is often too short for those:

5 Likes

We should try again to paste long search links because it may be fixed now!

Maybe wait a little bit that version of discourse is updated here or something.

I don’t see anything in https://github.com/discourse/discourse/compare/fd58ca19039d25019c3f628c3857ccd0f34d7b57...tests-passed that would include such a change, so either it’s an unintentional change (bug) from upstream, or it’s already included in our current codebase and you don’t need to wait for an update to a newer version. :slight_smile:

Here is the same test as that time https://musicbrainz.org/search/edits?negation=0&combinator=or&conditions.3.field=id&conditions.3.operator=%3D&conditions.3.args.0=38846344&conditions.4.field=id&conditions.4.operator=%3D&conditions.4.args.0=38846371&conditions.5.field=id&conditions.5.operator=%3D&conditions.5.args.0=38846374&conditions.6.field=id&conditions.6.operator=%3D&conditions.6.args.0=38846554&conditions.7.field=id&conditions.7.operator=%3D&conditions.7.args.0=38843739&conditions.8.field=id&conditions.8.operator=%3D&conditions.8.args.0=38846557&conditions.9.field=id&conditions.9.operator=%3D&conditions.9.args.0=38846753&conditions.10.field=id&conditions.10.operator=%3D&conditions.10.args.0=38846877&conditions.11.field=id&conditions.11.operator=%3D&conditions.11.args.0=38846956&conditions.12.field=id&conditions.12.operator=%3D&conditions.12.args.0=38847027&conditions.13.field=id&conditions.13.operator=%3D&conditions.13.args.0=38847058&conditions.14.field=id&conditions.14.operator=%3D&conditions.14.args.0=38847098&conditions.15.field=id&conditions.15.operator=%3D&conditions.15.args.0=38847118&conditions.16.field=id&conditions.16.operator=%3D&conditions.16.args.0=38847136&conditions.17.field=id&conditions.17.operator=%3D&conditions.17.args.0=38847141&conditions.18.field=id&conditions.18.operator=%3D&conditions.18.args.0=38847192&conditions.19.field=id&conditions.19.operator=%3D&conditions.19.args.0=38847259

If you click, the URL will be truncated.
If you middle‐click (mouse‐wheel‐click), it will work, as middle‐click bypasses javascripts (with Opera presto and Vivaldi, at least).

Now it’s no longer cut off!
1400 character long URL works! :slight_smile:

1 Like