We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a12f03 commit 142e593Copy full SHA for 142e593
frontend/src/app/core/auth/account.service.ts
@@ -25,7 +25,8 @@ export class AccountService {
25
}
26
27
checkPassword(password: string, uuid: string): Observable<HttpResponse<string>> {
28
- return this.http.get(SERVER_API_URL + `api/check-credentials?password=${password}&checkUUID=${uuid}`, {
+ const sanitizedPassword = encodeURIComponent(password);
29
+ return this.http.get(SERVER_API_URL + `api/check-credentials?password=${sanitizedPassword}&checkUUID=${uuid}`, {
30
observe: 'response',
31
responseType: 'text'
32
});
0 commit comments