@adobe/helix-html-pipeline 3.4.5 → 3.4.6
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/forms-pipe.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [3.4.6](https://github.com/adobe/helix-html-pipeline/compare/v3.4.5...v3.4.6) (2022-10-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* trim spaces after comma ([#166](https://github.com/adobe/helix-html-pipeline/issues/166)) ([24a1542](https://github.com/adobe/helix-html-pipeline/commit/24a1542468451f1648891e164e7075ad7c35e7fc))
|
|
7
|
+
|
|
1
8
|
## [3.4.5](https://github.com/adobe/helix-html-pipeline/compare/v3.4.4...v3.4.5) (2022-10-17)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/forms-pipe.js
CHANGED
|
@@ -134,7 +134,7 @@ export async function formsPipe(state, request) {
|
|
|
134
134
|
|
|
135
135
|
const sourceLocation = resourceFetchResponse.headers.get('x-amz-meta-x-source-location');
|
|
136
136
|
const referer = request.headers.get('referer') || 'unknown';
|
|
137
|
-
const sheetNames = sheets.split(',');
|
|
137
|
+
const sheetNames = sheets.split(',').map((s) => s.trim());
|
|
138
138
|
|
|
139
139
|
if (!sourceLocation || !sheetNames.includes('incoming')) {
|
|
140
140
|
return error(log, `Target workbook at ${resourcePath} is not setup to intake data.`, 403, response);
|