Skip to content

Commit

Permalink
Merge pull request #7371 from opengovsg/release-al2
Browse files Browse the repository at this point in the history
build: merge release 6.124.1 into develop
  • Loading branch information
KenLSM committed Jun 7, 2024
2 parents 428654c + 8754489 commit 8f9edda
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v6.124.1](https://github.com/opengovsg/FormSG/compare/v6.124.0...v6.124.1)

- build: release v6.124.0 [`#7368`](https://github.com/opengovsg/FormSG/pull/7368)
- check for truthiness of fieldname in receiver [`429e1e9`](https://github.com/opengovsg/FormSG/commit/429e1e9a073da23cc7f329fae11ac4e0f1b7c66c)

#### [v6.124.0](https://github.com/opengovsg/FormSG/compare/v6.123.0...v6.124.0)

> 6 June 2024

- fix(submission): capture split error [`#7360`](https://github.com/opengovsg/FormSG/pull/7360)
- chore: remove unused deps [`#7336`](https://github.com/opengovsg/FormSG/pull/7336)
- fix(deps): bump libphonenumber-js from 1.11.2 to 1.11.3 in /shared [`#7367`](https://github.com/opengovsg/FormSG/pull/7367)
Expand All @@ -14,6 +21,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- feat(mockpass): enable admin login using mockpass locally [`#7359`](https://github.com/opengovsg/FormSG/pull/7359)
- build: merge release back to develop [`#7364`](https://github.com/opengovsg/FormSG/pull/7364)
- build: release v6.123.0 [`#7362`](https://github.com/opengovsg/FormSG/pull/7362)
- chore: bump version to v6.124.0 [`4780df0`](https://github.com/opengovsg/FormSG/commit/4780df0955386a21037b3efdaf29f9596bd072ce)

#### [v6.123.0](https://github.com/opengovsg/FormSG/compare/v6.122.0...v6.123.0)

Expand Down
4 changes: 2 additions & 2 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "form-frontend",
"version": "6.124.0",
"version": "6.124.1",
"homepage": ".",
"private": true,
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "FormSG",
"description": "Form Manager for Government",
"version": "6.124.0",
"version": "6.124.1",
"homepage": "https://form.gov.sg",
"authors": [
"FormSG <formsg@data.gov.sg>"
Expand Down
7 changes: 7 additions & 0 deletions src/app/modules/submission/receiver/receiver.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ export const configureMultipartReceiver = (
// (like Chinese, Tamil, etc), e.g.
// `utf8-with-endash – test.txt` -> `utf8-with-endash â�� test.txt`.
// See https://github.com/mscdex/busboy/issues/274.
if (!fieldname) {
logger.error({
message: 'Error while attempting to parse form fieldname',
meta: logMeta,
})
return reject(new MultipartContentParsingError())
}
const utf8Fieldname = Buffer.from(fieldname, 'latin1').toString('utf8')
if (filename) {
const buffers: Buffer[] = []
Expand Down

0 comments on commit 8f9edda

Please sign in to comment.