Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix out-by-one error on last_boundary #1

Merged
merged 1 commit into from Jun 5, 2015
Merged

Conversation

sdt
Copy link
Contributor

@sdt sdt commented Jun 5, 2015

The boundaries were coming out like this:

Content-Disposition: form-data; name="to"

rcpt1@example.com
--CQH8X
Content-Disposition: form-data; name="to"

rcpt2@example.com
--CQH8--X

This fixes the last one to be --CQH8X-- instead of --CQH8--X

The boundaries were coming out like this:

    Content-Disposition: form-data; name="to"

    rcpt1@example.com
    --CQH8X
    Content-Disposition: form-data; name="to"

    rcpt2@example.com
    --CQH8--X

This fixes the last one to be --CQH8X-- instead of --CQH8--X
reneeb added a commit that referenced this pull request Jun 5, 2015
Fix out-by-one error on last_boundary
@reneeb reneeb merged commit d02f324 into reneeb:master Jun 5, 2015
@sdt
Copy link
Contributor Author

sdt commented Jun 5, 2015

Thanks for the module, and the quick release @reneeb, much appreciated!

@sdt sdt deleted the final-boundary branch June 5, 2015 07:39
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.

None yet

2 participants