mdn / mdn/fred

Playground should not be able to generate URLs that exceed the maximum length

Open
#1,507 1 comment 0 reactions 1 assignee View on GitHub

@LeoMcA is already working on this.

Since Apr 23, 2026.

p1
Dominant language
JavaScript
Stars
233
Forks
61
Avg merge
1d 1h
Merged PRs (30d)
82

Description

Via https://github.com/mdn/content/issues/43892

URLs have a maximum length of 8k - it's possible using the playground to generate longer URLs.

We should, at least:

  • add validation in the Playground directly that prevents generation of URLs exceeding 8000 encoded characters
  • add a Content built-time test to as a backstop

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.