From bdb5534710bdeb7dfd3ffeb8eb470ea593507555 Mon Sep 17 00:00:00 2001 From: Greg Anderson Date: Thu, 20 Aug 2026 17:05:28 -0600 Subject: [PATCH 1/2] docs(connectors): restore three markdown links mangled into NUL bytes `docs/content/connectors/upstream/toolreference.md` carried six literal NUL bytes (0x00) that broke three inline markdown links. Each one is a leftover placeholder of the form `\0\0` sitting where the link destination `](url)` belongs: - Semgrep token page: `[https://semgrep.dev/orgs/\-/settings/tokens\0389\0)` - Snyk REST base: `**[https://api.snyk.io/rest\0394\0**` - Snyk EU REST base: `**[https://api.eu.snyk.io/rest\0395\0**` The NUL bytes also made the whole file register as binary, so `grep` skipped it and `git diff` rendered it as "Binary files differ". The placeholders were introduced in 1cafb09ac7 (#15661); its parent 1e48e9326c still has the intact text, and all four translated siblings (`.de`, `.es`, `.fr`, `.ja`) carry the same markup unchanged. Both sources agree, so the destinations are restored verbatim from them - the two repaired lines are now byte-identical to their pre-#15661 counterparts. The file contains no NUL bytes after this change. Co-Authored-By: Claude Opus 5 --- docs/content/connectors/upstream/toolreference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/connectors/upstream/toolreference.md b/docs/content/connectors/upstream/toolreference.md index 04810f4970..530366ba58 100644 --- a/docs/content/connectors/upstream/toolreference.md +++ b/docs/content/connectors/upstream/toolreference.md @@ -2118,7 +2118,7 @@ Enter `https://semgrep.dev/api/v1/` in the **Location** field. 1. Enter a valid API key in the **Secret** field. You can find this on the Tokens page: ​ -"Settings" in the left navbar \> Tokens \> Create new token ([https://semgrep.dev/orgs/\-/settings/tokens389) +"Settings" in the left navbar \> Tokens \> Create new token ([https://semgrep.dev/orgs/\-/settings/tokens](https://semgrep.dev/orgs/-/settings/tokens)) See [Semgrep documentation](https://semgrep.dev/docs/semgrep-cloud-platform/semgrep-api/#tag__badge-list) for more info. @@ -2178,7 +2178,7 @@ The Snyk connector uses the Snyk REST API to fetch data. #### Connector Mappings -1. Enter **[https://api.snyk.io/rest394** or **[https://api.eu.snyk.io/rest395** (for a regional EU deployment) in the **Location** field. +1. Enter **[https://api.snyk.io/rest](https://api.snyk.io/v1)** or **[https://api.eu.snyk.io/rest](https://api.eu.snyk.io/v1)** (for a regional EU deployment) in the **Location** field. 2. Enter a valid API key in the **Secret** field. API Tokens are found on a user's **[Account Settings](https://docs.snyk.io/getting-started/how-to-obtain-and-authenticate-with-your-snyk-api-token)** [page](https://docs.snyk.io/getting-started/how-to-obtain-and-authenticate-with-your-snyk-api-token) in Snyk. See the [Snyk API documentation](https://docs.snyk.io/snyk-api) for more info. From d0bc247aaddb1fed135edcd42b0ee8a9bd6aa5c3 Mon Sep 17 00:00:00 2001 From: Greg Anderson Date: Thu, 20 Aug 2026 17:16:37 -0600 Subject: [PATCH 2/2] docs: restore five more markdown links mangled into NUL bytes Same defect as the previous commit, same origin (1cafb09ac7 / #15661): a placeholder of the form \0\0 left sitting where a link destination `](url)` belongs. A repo-wide scan found four more affected files carrying ten NUL bytes between them: - get_started/about/about_defectdojo.md (2: demo, pro demo) - get_started/contributing/documentation.md (1: http://localhost:1313) - get_started/contributing/how-to-write-a-parser.md (1: acunetix.md example) - issue_tracking/pro_integration/messaging_connectors.md (1: api.slack.com/apps) Each destination is restored verbatim from the last revision of that file before #15661, located by walking the file history and counting NUL bytes per revision. All five are self-links (display text equals destination), and every repaired line is byte-identical to its pre-#15661 counterpart. No NUL bytes remain anywhere under docs/, and a regex sweep for markdown link openers with no `](` destination now reports zero hits across docs/content. Co-Authored-By: Claude Opus 5 --- .../get_started/about/about_defectdojo.md | Bin 7262 -> 7320 bytes .../get_started/contributing/documentation.md | Bin 2906 -> 2926 bytes .../contributing/how-to-write-a-parser.md | 2 +- .../pro_integration/messaging_connectors.md | Bin 15894 -> 15919 bytes 4 files changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/get_started/about/about_defectdojo.md b/docs/content/get_started/about/about_defectdojo.md index efad1ef35b5ae941266b6f2d044f75a727cbdf74..5e27faa64f48594e1215e36fadb67bbf7459b52a 100644 GIT binary patch delta 57 zcmca-F~f30u(*7zMn*|VL9vy-eoAU?zFtadT557hN`6+pUVc%!zUJg`@ieAbjmdMx N6&N))9~7U<0svSZ6Vw0z delta 26 gcmbPXdCy`)us92Yp#{U_BJngJ!;)e1Z}GV-0Bte{#Q*>R diff --git a/docs/content/get_started/contributing/documentation.md b/docs/content/get_started/contributing/documentation.md index 445308ca90314becdb5a061c4ad46607c110f94f..90d6463755ee36bdf6943223892c6dbe7cb6b9fe 100644 GIT binary patch delta 37 scmca5_D*br6N^NwMn*|Vft9{~PJVJ?PDXxliIt(Tp|R#>Hx?0g0Q@!!>;M1& delta 17 YcmaDSc1vu76AKH2p*h3mC>9ZR05iY@g8%>k diff --git a/docs/content/get_started/contributing/how-to-write-a-parser.md b/docs/content/get_started/contributing/how-to-write-a-parser.md index e3cbf97281..6ed8c1e8e4 100644 --- a/docs/content/get_started/contributing/how-to-write-a-parser.md +++ b/docs/content/get_started/contributing/how-to-write-a-parser.md @@ -385,4 +385,4 @@ Please add a new .md file in [`docs/content/en/connecting_your_tools/parsers`] w * A link to the relevant unit tests folder so that users can quickly navigate there from Documentation. * A link to the scanner itself - (e.g. GitHub or vendor link) -Here is an example of a completed Parser documentation page: [https://github.com/DefectDojo/django-DefectDojo/blob/master/docs/content/supported_tools/file/acunetix.md77 +Here is an example of a completed Parser documentation page: [https://github.com/DefectDojo/django-DefectDojo/blob/master/docs/content/supported_tools/file/acunetix.md](https://github.com/DefectDojo/django-DefectDojo/blob/master/docs/content/supported_tools/file/acunetix.md) diff --git a/docs/content/issue_tracking/pro_integration/messaging_connectors.md b/docs/content/issue_tracking/pro_integration/messaging_connectors.md index 74ad33a2ec776d2ca8ee90b91d2895e279fbe120..d7a594d1a314264b202cf0ac8eec93e72b0a22a3 100644 GIT binary patch delta 21 ccmbPMv%Y3SHYZc8#^gXwDMroB`JBs509VxqAOHXW delta 17 YcmZ2qGp%MrHYW>%krBh@4$kE!06VJ%=>Px#