mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
Merge branch 'main' into rbPoly
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
## 0.5.2
|
||||
|
||||
### New Queries
|
||||
|
||||
* Added a new query, `rb/html-constructed-from-input`, to detect libraries that unsafely construct HTML from their inputs.
|
||||
|
||||
## 0.5.1
|
||||
|
||||
### New Queries
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
---
|
||||
category: newQuery
|
||||
---
|
||||
## 0.5.2
|
||||
|
||||
### New Queries
|
||||
|
||||
* Added a new query, `rb/html-constructed-from-input`, to detect libraries that unsafely construct HTML from their inputs.
|
||||
@@ -1,2 +1,2 @@
|
||||
---
|
||||
lastReleaseVersion: 0.5.1
|
||||
lastReleaseVersion: 0.5.2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: codeql/ruby-queries
|
||||
version: 0.5.2-dev
|
||||
version: 0.5.3-dev
|
||||
groups:
|
||||
- ruby
|
||||
- queries
|
||||
|
||||
@@ -19,6 +19,12 @@
|
||||
shape, increasing the input length by ten characters may make the
|
||||
automaton about 1000 times slower.
|
||||
</p>
|
||||
<p>
|
||||
Note that Ruby 3.2 and later have implemented a caching mechanism that
|
||||
completely eliminates the worst-case time complexity for the regular
|
||||
expressions flagged by this query. The regular expressions flagged by this
|
||||
query are therefore only problematic for Ruby versions prior to 3.2.
|
||||
</p>
|
||||
<p>
|
||||
Typically, a regular expression is affected by this problem if it contains
|
||||
a repetition of the form <code>r*</code> or <code>r+</code> where the
|
||||
|
||||
Reference in New Issue
Block a user