Skip to content

Commit

Permalink
fix!: URI encode username and password inputs (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcooney authored Jul 21, 2021
1 parent d8e9f99 commit a56c3e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/activities/CreateFmeService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ export class CreateFmeService implements IActivityHandler {

// Generate a token
FMEServer.generateToken(
username,
password,
encodeURIComponent(username),
encodeURIComponent(password),
expiration || 60,
"minutes",
(token) => {
Expand Down

0 comments on commit a56c3e8

Please sign in to comment.