Skip to content

Commit a56c3e8

Browse files
authored
fix!: URI encode username and password inputs (#13)
1 parent d8e9f99 commit a56c3e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/activities/CreateFmeService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ export class CreateFmeService implements IActivityHandler {
9191

9292
// Generate a token
9393
FMEServer.generateToken(
94-
username,
95-
password,
94+
encodeURIComponent(username),
95+
encodeURIComponent(password),
9696
expiration || 60,
9797
"minutes",
9898
(token) => {

0 commit comments

Comments
 (0)