Skip to content

fix(AS2MimeNode): remove double-dash prefix from default boundary prefix#4

Open
rubber-side-down wants to merge 1 commit intomistweaverco:mainfrom
rubber-side-down:main
Open

fix(AS2MimeNode): remove double-dash prefix from default boundary prefix#4
rubber-side-down wants to merge 1 commit intomistweaverco:mainfrom
rubber-side-down:main

Conversation

@rubber-side-down
Copy link

The default boundaryPrefix value was set to '--LibAs2', but the leading -- is part of the MIME multipart boundary delimiter syntax — not the prefix itself. The MIME serializer adds the -- separator automatically, so including it in the prefix resulted in malformed boundaries (e.g., ----LibAs2_...).

This changes the default to 'LibAs2' so the generated boundary is correctly formed.

Updates the JSDoc comment in Interfaces.ts to reflect the corrected default value.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant