diff --git a/CHANGELOG.md b/CHANGELOG.md index 40329123..bd1bc088 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,12 @@ # Changelog -## [3.0.2](https://github.com/OctopusDeploy/await-task-action/compare/v3.0.1...v3.0.2) (2023-02-20) +## [3.0.2](https://github.com/OctopusDeploy/await-task-action/compare/v3.0.1...v3.0.2) (2023-02-23) ### Bug Fixes * space lookups for > 30 spaces ([fe321fc](https://github.com/OctopusDeploy/await-task-action/commit/fe321fcade9758db724970d4b375c1b5e3d945f7)) +* url encoding in space names [04298896](https://github.com/OctopusDeploy/await-task-action/commit/04298896e80eb6e427e32b2a54c2e440d2c49363) ## [3.0.1](https://github.com/OctopusDeploy/await-task-action/compare/v3.0.0...v3.0.1) (2023-01-31) diff --git a/dist/index.js b/dist/index.js index b1f737e5..68e0d02b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7213,7 +7213,7 @@ function resolveSpaceId(client, spaceName) { return [2 /*return*/, knownSpaces[spaceName]]; } client.debug("Resolving space from name '".concat(spaceName, "'")); - return [4 /*yield*/, client.get("".concat(apiLocation_1.apiLocation, "/spaces?partialName=").concat(spaceName, "&skip=0&take=").concat(features_1.BasicRepository.TakeAll))]; + return [4 /*yield*/, client.get("".concat(apiLocation_1.apiLocation, "/spaces?partialName=").concat(encodeURIComponent(spaceName), "&skip=0&take=").concat(features_1.BasicRepository.TakeAll))]; case 1: spaces = _a.sent(); spaceId = ""; diff --git a/package-lock.json b/package-lock.json index 392759ad..4efb5267 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "await-task-action", - "version": "3.0.2", + "version": "3.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "await-task-action", - "version": "3.0.2", + "version": "3.0.0", "license": "Apache-2.0", "dependencies": { "@actions/core": "^1.10.0", diff --git a/package.json b/package.json index 49e973d4..18bab75f 100644 --- a/package.json +++ b/package.json @@ -84,5 +84,5 @@ "test:unit": "jest --ci --reporters=default --reporters=jest-junit --testPathPattern=__tests__/unit", "test:integration": "jest --ci --reporters=default --reporters=jest-junit --testPathPattern=__tests__/integration" }, - "version": "3.0.2" + "version": "3.0.0" } \ No newline at end of file