Skip to content

DEFAULT_BUG_REPORT_MAX_URL_LENGTH

The default budget, in characters of the encoded URL, of a prefilled bug-report link.

Measured against github.com on 2026-11-07, signed out: an issue-form URL up to about 6,540 characters was answered with the usual redirect to the form, about 8,088 with a 502, and 8,288 and more with a 414. 6,000 leaves room for a longer repository name and for a signed-in session’s own limits.

Import:

import { DEFAULT_BUG_REPORT_MAX_URL_LENGTH } from '@mnaoumov/obsidian-lib/bug-report';

Signature:

const DEFAULT_BUG_REPORT_MAX_URL_LENGTH: 6000

Type: 6000