Skip to content

Commit df2dfc9

Browse files
authored
Wrapped username and password data in encodeURIComponent (#224)
1 parent a38b726 commit df2dfc9

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

back/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "tmeit_backend"
3-
version = "1.3.0"
3+
version = "1.3.1"
44
description = "Python backend for the TMEIT website"
55
authors = ["TraditionsMEsterIT"]
66
license = "AGPL-3.0"

deploy/kubernetes/tmeit-se/postgres/set_image_tag.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
{
33
"op": "replace",
44
"path": "/spec/jobTemplate/spec/template/spec/containers/0/image",
5-
"value": "ghcr.io/tmeit/db-backup-agent:1.3.0"
5+
"value": "ghcr.io/tmeit/db-backup-agent:1.3.1"
66
}
77
]

deploy/kubernetes/tmeit-se/run-migrations/set_image_tag.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
{
33
"op": "replace",
44
"path": "/spec/template/spec/containers/0/image",
5-
"value": "ghcr.io/tmeit/tmeit-run-migrations:1.3.0"
5+
"value": "ghcr.io/tmeit/tmeit-run-migrations:1.3.1"
66
}
77
]

deploy/kubernetes/tmeit-se/tmeit-app/set_image_tag.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
{
33
"op": "replace",
44
"path": "/spec/template/spec/containers/0/image",
5-
"value": "ghcr.io/tmeit/tmeit-app:1.3.0"
5+
"value": "ghcr.io/tmeit/tmeit-app:1.3.1"
66
}
77
]

deploy/kubernetes/tmeit-se/tmeit-worker/set_image_tag.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
{
33
"op": "replace",
44
"path": "/spec/template/spec/containers/0/image",
5-
"value": "ghcr.io/tmeit/tmeit-worker:1.3.0"
5+
"value": "ghcr.io/tmeit/tmeit-worker:1.3.1"
66
}
77
]

front/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sideEffects": [
44
"*.css"
55
],
6-
"version": "1.3.0",
6+
"version": "1.3.1",
77
"description": "Front-end for the TMEIT website.",
88
"main": "index.js",
99
"scripts": {

front/src/app/components/LoginModal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function LoginModal({className, loggedIn, setLoggedIn, setLoginModalOpen}) {
129129
token.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
130130
token.responseType = "json";
131131
const data =
132-
"username=" + e.target["0"].value + "&password=" + e.target["1"].value;
132+
"username=" + encodeURIComponent(e.target["0"].value) + "&password=" + encodeURIComponent(e.target["1"].value);
133133
token.send(data);
134134

135135
token.onload = function () {

0 commit comments

Comments
 (0)