dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [Bug #1237] Send by Email creates broken http URL


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1237] Send by Email creates broken http URL
Date: Thu, 06 Feb 2014 11:02:10 -0500

Doliforge
Is this email not displaying correctly?
update email preferences.

Send by Email creates broken http URL

Snapshot

 Details
Last Modified On:  2014-02-06 11:02 Submitted by:  Fred Laxton (flaxton)
Submitted on:  2014-02-06 11:02 
Summary:  Send by Email creates broken http URL
Description:  I sent two invoices by email, and both of the http URL links were broken.

I click "Send by Email" on an invoice, and it puts this in the email:

"You will find here the invoice FA1401-0025

You can click on the secure link below to make your payment (PayPal) if it is not already done.\n\nhttp://infotechdesign.us/public/paypal/newpayment.php?source=invoice&ref=FA1401-0025\n\nSincerely"

This part, before the URL:

\n\n

and this part, after the URL:

\n\nSincerely

munge it so it does not work. If they get there, it doesn't understand the invoice number, and instead shows $1.00 in place of the correct amount.

Yes, I know that \n\n means "newline" in some contexts. But it is actually putting "nn" into the email text, not a newline, making it part of the URL.

I believe the problem is in:

langs/en_US/other.lang

I'm thinking the \n (newline) is not recognized if does not have spaces before and after, but that's just a theory.
Step to reproduce bug:  Send an invoice by email.
Detected in version:  3.5.0 Category:  Module: Customer Invoices
Severity:  5 - Major OS Type/Version:  CentOS 6.3
PHP version:  5.4.22 Database type and version:  MySQL 5.5.33
 Status
Status:  Open Assigned to:  None
Resolution:  None 

Answer now



reply via email to

[Prev in Thread] Current Thread [Next in Thread]