-
Notifications
You must be signed in to change notification settings - Fork 61
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
RFC Violation - Broken POST content [rt.cpan.org #75592] #69
Comments
Hi. Is there any chance to remove this content alteration? # HTML/4.01 says that line breaks are represented as "CR LF" pairs (i.e., `%0D%0A')
$content =~ s/(?<!%0D)%0A/%0D%0A/g if defined($content); seems to be unexpected. |
It looks like this change was introduced via 0045480. |
+1 for removing this weird and completly unexpected behavior of LF->CRLF autocorrection. In my case it had financial consequences - when using this library for sending SMSes for client he got charged twice the expected amount. Because estimated cost was based on actual message length and this stupid replacement changed newlines which caused SMS to be too long to fit in single part message. Not to mention spending almost 2 hours for "WTF debugging". Please NEVER modify user data implicitly. |
Migrated from rt.cpan.org#75592 (status was 'open')
Requestors:
Attachments:
From bbb@cpan.org on 2012-03-07 00:11:51:
From bbb@cpan.org on 2012-03-07 00:18:32:
From bbb@cpan.org on 2012-03-07 00:26:45:
From gaas@cpan.org on 2012-03-11 11:23:03:
From bbb@cpan.org on 2012-03-12 02:48:58:
From doherty@cpan.org on 2012-03-31 04:52:51:
From doherty@cpan.org on 2012-04-24 20:22:30:
From eugenek@cpan.org on 2013-08-13 15:20:13:
From gfilatov@cpan.org on 2014-01-13 08:27:50:
The text was updated successfully, but these errors were encountered: