Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrapped username and password data in encodeURIComponent #224

Merged
merged 1 commit into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading