Skip to content

Commit

Permalink
Wrapped username and password data in encodeURIComponent (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebbedi authored Feb 7, 2024
1 parent a38b726 commit df2dfc9
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion back/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "tmeit_backend"
version = "1.3.0"
version = "1.3.1"
description = "Python backend for the TMEIT website"
authors = ["TraditionsMEsterIT"]
license = "AGPL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/tmeit-se/postgres/set_image_tag.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
{
"op": "replace",
"path": "/spec/jobTemplate/spec/template/spec/containers/0/image",
"value": "ghcr.io/tmeit/db-backup-agent:1.3.0"
"value": "ghcr.io/tmeit/db-backup-agent:1.3.1"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
{
"op": "replace",
"path": "/spec/template/spec/containers/0/image",
"value": "ghcr.io/tmeit/tmeit-run-migrations:1.3.0"
"value": "ghcr.io/tmeit/tmeit-run-migrations:1.3.1"
}
]
2 changes: 1 addition & 1 deletion deploy/kubernetes/tmeit-se/tmeit-app/set_image_tag.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
{
"op": "replace",
"path": "/spec/template/spec/containers/0/image",
"value": "ghcr.io/tmeit/tmeit-app:1.3.0"
"value": "ghcr.io/tmeit/tmeit-app:1.3.1"
}
]
2 changes: 1 addition & 1 deletion deploy/kubernetes/tmeit-se/tmeit-worker/set_image_tag.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
{
"op": "replace",
"path": "/spec/template/spec/containers/0/image",
"value": "ghcr.io/tmeit/tmeit-worker:1.3.0"
"value": "ghcr.io/tmeit/tmeit-worker:1.3.1"
}
]
2 changes: 1 addition & 1 deletion front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sideEffects": [
"*.css"
],
"version": "1.3.0",
"version": "1.3.1",
"description": "Front-end for the TMEIT website.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion front/src/app/components/LoginModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function LoginModal({className, loggedIn, setLoggedIn, setLoginModalOpen}) {
token.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
token.responseType = "json";
const data =
"username=" + e.target["0"].value + "&password=" + e.target["1"].value;
"username=" + encodeURIComponent(e.target["0"].value) + "&password=" + encodeURIComponent(e.target["1"].value);
token.send(data);

token.onload = function () {
Expand Down

0 comments on commit df2dfc9

Please sign in to comment.