@adobe/aem-cli 16.3.13 → 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 +7 -0
- package/package.json +1 -1
- package/src/server/HelixImportServer.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
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
|
+
|
|
1
8
|
## [16.3.13](https://github.com/adobe/helix-cli/compare/v16.3.12...v16.3.13) (2024-05-04)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -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
|
|
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
|
}
|