util/mime: pass invalidSubtypeIndex instead of trimmedSubtype to error by gaurishhs · Pull Request #49711 · nodejs/node

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

gaurishhs wants to merge 1 commit intonodejs:mainfrom

gaurishhs:gaurishhs/fix-mime

Closed

util/mime: pass invalidSubtypeIndex instead of trimmedSubtype to error#49711

gaurishhs wants to merge 1 commit intonodejs:mainfrom

gaurishhs:gaurishhs/fix-mime

Conversation

@gaurishhs

Copy link

Contributor

The error ERR_INVALID_MIME_SYNTAX expects the invalid index which wasn't being passed.

bricss and gaurishhs reacted with thumbs up emoji

@nodejs-github-bot nodejs-github-bot added the needs-ci

PRs that need a full CI run.

label

Sep 19, 2023

@gaurishhs gaurishhs changed the title fix: pass invalidSubtypeIndex instead of trimmedSubtype to error mime: pass invalidSubtypeIndex instead of trimmedSubtype to error

Sep 19, 2023

@gaurishhs gaurishhs changed the title mime: pass invalidSubtypeIndex instead of trimmedSubtype to error util/mime: pass invalidSubtypeIndex instead of trimmedSubtype to error

Sep 19, 2023

@nodejs-github-bot

This comment was marked as outdated.

@gaurishhs

Copy link

Contributor Author

hi, any updates?

@deokjinkim

Copy link

Contributor

@gaurishhs Could you modify commit title according to guide(https://github.com/nodejs/node/blob/main/doc/contributing/pull-requests.md#commit-message-guidelines)?
Commit title should be started with submodule name such as util.

@gaurishhs

Copy link

Contributor Author

@deokjinkim @jasnell I was having conflicts on my local git while rebasing. I have opened a new PR to make things good. Please look into #51264

I'm sorry for the mess i created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jasnell jasnell jasnell approved these changes

@deokjinkim deokjinkim deokjinkim approved these changes

Assignees

No one assigned

Labels

needs-ci

PRs that need a full CI run.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@gaurishhs @nodejs-github-bot @deokjinkim @jasnell