@adobe/aem-cli 16.3.12 → 16.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [16.3.14](https://github.com/adobe/helix-cli/compare/v16.3.13...v16.3.14) (2024-05-09)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Resources that redirect to protocol-relative URIs are not handled correctly ([ca49c6b](https://github.com/adobe/helix-cli/commit/ca49c6bdf672e06a1b9d5f120f56ba8a01f6137f)), closes [#2354](https://github.com/adobe/helix-cli/issues/2354)
7
+
8
+ ## [16.3.13](https://github.com/adobe/helix-cli/compare/v16.3.12...v16.3.13) (2024-05-04)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update adobe fixes ([78e4620](https://github.com/adobe/helix-cli/commit/78e46206a58f69bc5ddc693bb2af7a91d2a3a6d9))
14
+
1
15
  ## [16.3.12](https://github.com/adobe/helix-cli/compare/v16.3.11...v16.3.12) (2024-05-04)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/aem-cli",
3
- "version": "16.3.12",
3
+ "version": "16.3.14",
4
4
  "description": "AEM CLI",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -40,9 +40,9 @@
40
40
  "dependencies": {
41
41
  "@adobe/fetch": "4.1.2",
42
42
  "@adobe/helix-log": "6.0.3",
43
- "@adobe/helix-shared-config": "10.4.3",
44
- "@adobe/helix-shared-git": "3.0.8",
45
- "@adobe/helix-shared-indexer": "2.0.23",
43
+ "@adobe/helix-shared-config": "10.4.4",
44
+ "@adobe/helix-shared-git": "3.0.9",
45
+ "@adobe/helix-shared-indexer": "2.0.24",
46
46
  "camelcase": "8.0.0",
47
47
  "chalk-template": "1.1.0",
48
48
  "chokidar": "3.6.0",
@@ -124,8 +124,8 @@ export class HelixImportServer extends BaseServer {
124
124
  respHeaders['access-control-allow-origin'] = '*';
125
125
  delete respHeaders['set-cookie'];
126
126
 
127
- if (respHeaders.location && !respHeaders.location.startsWith('/')) {
128
- const u = new URL(respHeaders.location);
127
+ if (respHeaders.location) {
128
+ const u = new URL(respHeaders.location, url);
129
129
  if (u.origin === host) {
130
130
  respHeaders.location = u.pathname;
131
131
  }