From 582161a9fed7f3c2fa38d9262aabfdb1ad4dbcbf Mon Sep 17 00:00:00 2001 From: NingAloha Date: Tue, 22 Sep 2026 19:06:35 +0800 Subject: [PATCH 1/3] Update HTTP links in CodeQL documentation --- docs/codeql/README.rst | 2 +- .../codeql-library-for-javascript.rst | 6 +++--- .../codeql-changelog/codeql-cli-2.12.0.rst | 2 +- docs/codeql/index.html | 2 +- .../ql-language-reference/about-the-ql-language.rst | 2 +- docs/codeql/ql-training/java/apache-struts-java.rst | 2 +- docs/codeql/qllexer.py | 2 +- docs/codeql/reusables/supported-frameworks.rst | 10 +++++----- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/codeql/README.rst b/docs/codeql/README.rst index 70686aae436c..2242519c7491 100644 --- a/docs/codeql/README.rst +++ b/docs/codeql/README.rst @@ -71,7 +71,7 @@ For example, to generate the HTML output for a project in the You can use errors reported during the build to debug problems in your source code, such as broken internal links and malformed tables. You can also check external links using Sphinx's `external link builder - `__. + `__. Add the ``-a`` flag to regenerate all output files. By default, only files that have changed are rebuilt. diff --git a/docs/codeql/codeql-language-guides/codeql-library-for-javascript.rst b/docs/codeql/codeql-language-guides/codeql-library-for-javascript.rst index aeaf68aeee4c..60d3054cd8d9 100644 --- a/docs/codeql/codeql-language-guides/codeql-library-for-javascript.rst +++ b/docs/codeql/codeql-language-guides/codeql-library-for-javascript.rst @@ -762,7 +762,7 @@ HTTP framework libraries The library ``semmle.javacript.frameworks.HTTP`` provides classes modeling common concepts from various HTTP frameworks. -Currently supported frameworks are `Express `__, the standard Node.js ``http`` and ``https`` modules, `Connect `__, `Koa `__, `Hapi `__ and `Restify `__. +Currently supported frameworks are `Express `__, the standard Node.js ``http`` and ``https`` modules, `Connect `__, `Koa `__, `Hapi `__ and `Restify `__. The most important classes include (all in module ``HTTP``): @@ -779,7 +779,7 @@ For each framework library, there is a corresponding CodeQL library (for example Node.js ^^^^^^^ -The ``semmle.javascript.NodeJS`` library provides support for working with `Node.js `__ modules through the following classes: +The ``semmle.javascript.NodeJS`` library provides support for working with `Node.js `__ modules through the following classes: - `NodeModule `__: a top-level that defines a Node.js module; see the section on `Modules <#modules>`__ for more information. - `Require `__: a call to the special ``require`` function that imports a module. @@ -927,7 +927,7 @@ However, unlike HTML, JSX is interleaved with JavaScript, hence `JSXElement `__ files that were processed by the JavaScript extractor when building the CodeQL database. +The ``semmle.javascript.JSON`` library provides support for working with `JSON `__ files that were processed by the JavaScript extractor when building the CodeQL database. JSON files are modeled as trees of JSON values. Each JSON value is represented by an entity of class `JSONValue `__, which provides the following member predicates: diff --git a/docs/codeql/codeql-overview/codeql-changelog/codeql-cli-2.12.0.rst b/docs/codeql/codeql-overview/codeql-changelog/codeql-cli-2.12.0.rst index 0993702172f3..5d8ae0993813 100644 --- a/docs/codeql/codeql-overview/codeql-changelog/codeql-cli-2.12.0.rst +++ b/docs/codeql/codeql-overview/codeql-changelog/codeql-cli-2.12.0.rst @@ -295,7 +295,7 @@ New Features JavaScript/TypeScript """"""""""""""""""""" -* Improved support for `Restify `__ framework, leading to more results when scanning applications developed with this framework. +* Improved support for `Restify `__ framework, leading to more results when scanning applications developed with this framework. * Added support for the `Spife `__ framework. Shared Libraries diff --git a/docs/codeql/index.html b/docs/codeql/index.html index 0b2833d25dac..6570f1c21671 100644 --- a/docs/codeql/index.html +++ b/docs/codeql/index.html @@ -250,7 +250,7 @@

Platform

  • Developer API
  • -
  • Partners
  • Education
  • diff --git a/docs/codeql/ql-language-reference/about-the-ql-language.rst b/docs/codeql/ql-language-reference/about-the-ql-language.rst index c24a29aea96c..355ac4601808 100644 --- a/docs/codeql/ql-language-reference/about-the-ql-language.rst +++ b/docs/codeql/ql-language-reference/about-the-ql-language.rst @@ -66,7 +66,7 @@ Further reading `Academic references `__ also provide an overview of QL and its semantics. Other useful references on database query languages and Datalog: -- `Database theory: Query languages `__ +- `Database theory: Query languages `__ - `Logic Programming and Databases book `__ - `Foundations of Databases `__ - `Datalog `__ diff --git a/docs/codeql/ql-training/java/apache-struts-java.rst b/docs/codeql/ql-training/java/apache-struts-java.rst index 503dfad54501..8c520c7f788a 100644 --- a/docs/codeql/ql-training/java/apache-struts-java.rst +++ b/docs/codeql/ql-training/java/apache-struts-java.rst @@ -41,7 +41,7 @@ RCE in Apache Struts - Xstream allows deserialization of **dynamic proxies**, which permit remote code execution. -- Disclosed as `CVE-2017-9805 `__ +- Disclosed as `CVE-2017-9805 `__ - Blog post: https://securitylab.github.com/research/apache-struts-vulnerability-cve-2017-9805 diff --git a/docs/codeql/qllexer.py b/docs/codeql/qllexer.py index 55a65e84152f..d8191ed10007 100644 --- a/docs/codeql/qllexer.py +++ b/docs/codeql/qllexer.py @@ -1,7 +1,7 @@ """ Custom Pygments lexer for highlighting QL code. - Based on instructions from http://pygments.org/docs/lexerdevelopment/. + Based on instructions from https://pygments.org/docs/lexerdevelopment/. """ import re diff --git a/docs/codeql/reusables/supported-frameworks.rst b/docs/codeql/reusables/supported-frameworks.rst index 257fc17e5a44..b62af488c41d 100644 --- a/docs/codeql/reusables/supported-frameworks.rst +++ b/docs/codeql/reusables/supported-frameworks.rst @@ -74,7 +74,7 @@ and the CodeQL library pack ``codeql/go-all`` (`changelog `_, Serverless framework `beego `_, Web/logging/database framework `Chi `_, Web framework - Couchbase (`gocb `_ and `go-couchbase `_), Database + Couchbase (`gocb `_ and `go-couchbase `_), Database `Echo `_, Web framework `Gin `_, Web framework `glog `_, Logging library @@ -87,7 +87,7 @@ and the CodeQL library pack ``codeql/go-all`` (`changelog `_, Network communicator `golang.org/x/net/websocket `_, Network communicator `goproxy `_, HTTP proxy library - `Gorilla mux `_, HTTP request router and dispatcher + `Gorilla mux `_, HTTP request router and dispatcher `Gorilla websocket `_, Network communicator `GORM `_, Database `GoWebsocket `_, Network communicator @@ -102,9 +102,9 @@ and the CodeQL library pack ``codeql/go-all`` (`changelog `_, Database `nhooyr.io/websocket `_, Network communicator `protobuf `_, Serialization - `Revel `_, Web framework + `Revel `_, Web framework `SendGrid `_, Email library - `sqlx `_, Database + `sqlx `_, Database `Squirrel `_, Database `ws `_, Network communicator `xmlpath `_, XPath library @@ -328,7 +328,7 @@ and the CodeQL library pack ``codeql/rust-all`` (`changelog `__, Asynchronous programming library `biscotti `__, Cookie management - `clap `__, Utility library + `clap `__, Utility library `cookie `__, Cookie management core, Standard library `digest `__, Cryptography library From ff5f56a560b1a6d2c6e1c4123701df389375e6c5 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com> Date: Tue, 22 Sep 2026 15:53:15 +0100 Subject: [PATCH 2/3] Update 2 URLs Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com> --- docs/codeql/ql-language-reference/about-the-ql-language.rst | 2 +- docs/codeql/reusables/supported-frameworks.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/codeql/ql-language-reference/about-the-ql-language.rst b/docs/codeql/ql-language-reference/about-the-ql-language.rst index 355ac4601808..97f2272d1fbb 100644 --- a/docs/codeql/ql-language-reference/about-the-ql-language.rst +++ b/docs/codeql/ql-language-reference/about-the-ql-language.rst @@ -66,7 +66,7 @@ Further reading `Academic references `__ also provide an overview of QL and its semantics. Other useful references on database query languages and Datalog: -- `Database theory: Query languages `__ +- `Database theory: Query languages `__ - `Logic Programming and Databases book `__ - `Foundations of Databases `__ - `Datalog `__ diff --git a/docs/codeql/reusables/supported-frameworks.rst b/docs/codeql/reusables/supported-frameworks.rst index b62af488c41d..8eacc653979d 100644 --- a/docs/codeql/reusables/supported-frameworks.rst +++ b/docs/codeql/reusables/supported-frameworks.rst @@ -87,7 +87,7 @@ and the CodeQL library pack ``codeql/go-all`` (`changelog `_, Network communicator `golang.org/x/net/websocket `_, Network communicator `goproxy `_, HTTP proxy library - `Gorilla mux `_, HTTP request router and dispatcher + `Gorilla mux `_, HTTP request router and dispatcher `Gorilla websocket `_, Network communicator `GORM `_, Database `GoWebsocket `_, Network communicator From cfa91f20bec8372f003f24fe375f122b40ca7c37 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com> Date: Tue, 22 Sep 2026 15:58:25 +0100 Subject: [PATCH 3/3] Update another URL --- docs/codeql/reusables/supported-frameworks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/codeql/reusables/supported-frameworks.rst b/docs/codeql/reusables/supported-frameworks.rst index 8eacc653979d..3237a768b128 100644 --- a/docs/codeql/reusables/supported-frameworks.rst +++ b/docs/codeql/reusables/supported-frameworks.rst @@ -100,7 +100,7 @@ and the CodeQL library pack ``codeql/go-all`` (`changelog `_, Logging library `Macaron `_, Web framework `mongo `_, Database - `nhooyr.io/websocket `_, Network communicator + `coder/websocket `_ (formerly nhooyr.io/websocket), Network communicator `protobuf `_, Serialization `Revel `_, Web framework `SendGrid `_, Email library