mirror of
https://github.com/iv-org/invidious.git
synced 2026-11-26 07:51:38 +00:00
Compare commits
12 Commits
release-v2
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8be586f386 | ||
|
|
f882ab0bd2 | ||
|
|
9af1c3824d | ||
|
|
fa031ffba0 | ||
|
|
0ae81703ad | ||
|
|
9a5c91cf80 | ||
|
|
4e9d20ddae | ||
|
|
93e9573b00 | ||
|
|
1e855775c0 | ||
|
|
23b3baf53e | ||
|
|
85ac546824 | ||
|
|
1f59da354e |
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@@ -42,7 +42,6 @@ jobs:
|
||||
matrix:
|
||||
stable: [true]
|
||||
crystal:
|
||||
- 1.14.1
|
||||
- 1.15.1
|
||||
- 1.16.3
|
||||
- 1.17.1
|
||||
@@ -50,7 +49,7 @@ jobs:
|
||||
- 1.19.2
|
||||
- 1.20.3
|
||||
- 1.21.1
|
||||
- 1.22.2
|
||||
- 1.22.3
|
||||
include:
|
||||
- crystal: nightly
|
||||
stable: false
|
||||
@@ -66,7 +65,7 @@ jobs:
|
||||
shell: bash
|
||||
|
||||
- name: Install Crystal
|
||||
uses: crystal-lang/install-crystal@v1.9.5
|
||||
uses: crystal-lang/install-crystal@v1.10.0
|
||||
with:
|
||||
crystal: ${{ matrix.crystal }}
|
||||
|
||||
@@ -138,9 +137,9 @@ jobs:
|
||||
|
||||
- name: Install Crystal
|
||||
id: lint_step_install_crystal
|
||||
uses: crystal-lang/install-crystal@v1.9.5
|
||||
uses: crystal-lang/install-crystal@v1.10.0
|
||||
with:
|
||||
crystal: 1.22.2
|
||||
crystal: 1.22.3
|
||||
|
||||
- name: Cache Shards
|
||||
uses: actions/cache@v6
|
||||
|
||||
17
CHANGELOG.md
17
CHANGELOG.md
@@ -8,6 +8,23 @@
|
||||
|
||||
|
||||
|
||||
|
||||
## v2.20261114.0
|
||||
|
||||
### Wrap-up
|
||||
|
||||
This release updates the project to Crystal 1.22.3, ensuring compatibility with the latest language features and improvements. No user-facing changes are included; this is a maintenance release for developers and instance owners.
|
||||
|
||||
### New features & important changes
|
||||
|
||||
#### For Developers
|
||||
- Updated to Crystal 1.22.3 (#6148)
|
||||
|
||||
### Full list of pull requests merged since the last release (newest first)
|
||||
|
||||
* chore: Update to Crystal 1.22.3 (https://github.com/iv-org/invidious/pull/6148, by @Fijxu)
|
||||
* Release v2.20261113.0 (https://github.com/iv-org/invidious/pull/6146, by @github-actions[bot])
|
||||
|
||||
## v2.20261113.0
|
||||
|
||||
### Wrap-up
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
ARG OPENSSL_VERSION='3.6.5'
|
||||
ARG OPENSSL_SHA256='a2157c2830efdec3788939b00c9b0638306d3f0bbb76dc4832ee503bb397df98'
|
||||
|
||||
FROM 84codes/crystal:1.22.2-alpine AS dependabot-crystal
|
||||
FROM 84codes/crystal:1.22.3-alpine AS dependabot-crystal
|
||||
|
||||
# We compile openssl ourselves due to a memory leak in how crystal interacts
|
||||
# with openssl
|
||||
|
||||
18
nix/flake.lock
generated
18
nix/flake.lock
generated
@@ -5,11 +5,11 @@
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1791914995,
|
||||
"narHash": "sha256-Zf/xfQEAasnwnmEfHqW/4hjDE/s44yn2hD4RuVIZRjA=",
|
||||
"lastModified": 1794427683,
|
||||
"narHash": "sha256-o7ey9gEilsxaifqJWnBDlYSKbNWYQYtKwDyXeZU2kaU=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "b7a79d3fea1e214f6d668d521cecec0c01e26544",
|
||||
"rev": "cd489559845d81f673a12885576016c65cbe9363",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -20,11 +20,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1792773339,
|
||||
"narHash": "sha256-rZLrzrC6i+jnTAlvPZHogKDulY7WWDEv9hJeHieO7Zw=",
|
||||
"lastModified": 1794537146,
|
||||
"narHash": "sha256-Wpz/7x/YWnDIBu7yj6ixe8j6fIMsidd9Y+o1PqPF3iM=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3ec636362e1816bc2f0888fa0fa2c69f1bc9e504",
|
||||
"rev": "d5cc6833999746cffdfe0598f7bc801a57b887a9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -42,11 +42,11 @@
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"lastModified": 1791244623,
|
||||
"narHash": "sha256-uuanbkFk8a313Zfrxdcz8Us/yQtaxNnKJtX8v0ZPpd8=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"rev": "d36eeed142f88b5a636f2e3856a53c61654cf29b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: invidious
|
||||
version: 2.20261113.0
|
||||
version: 2.20261114.0-dev
|
||||
|
||||
authors:
|
||||
- Invidious team <contact@invidious.io>
|
||||
|
||||
@@ -22,8 +22,11 @@ module Invidious::Routes::VideoPlayback
|
||||
host = "r#{fvip}---#{mns.pop}.googlevideo.com"
|
||||
end
|
||||
|
||||
# Sanity check, to avoid being used as an open proxy
|
||||
if !host.matches?(/[\w-]+\.(?:googlevideo|c\.youtube)\.com/)
|
||||
# Sanity check, to avoid being used as an open proxy.
|
||||
# Anchored (`\A`/`\z`), so the hostname must consist *entirely* of a
|
||||
# googlevideo.com / c.youtube.com address — an attacker-controlled suffix
|
||||
# like `evil.googlevideo.com.attacker.net` must not pass.
|
||||
if !host.matches?(/\A[\w-]+\.(?:googlevideo|c\.youtube)\.com\z/)
|
||||
return Errors.error_template(400, "Invalid \"host\" parameter.")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user