[chatter] URL detection doesn't take newlines into account

Bug #1075624 reported by Numérigraphe
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
In Progress
Medium
OpenERP R&D Addons Team 1

Bug Description

In the current trunk, If you enter an URL followed by a newline in a wall comment, the URL becomes clickable but the link contains the URL plus the next word after the newline.
For example if you enter
"http://toto
TITI"
The link will point to http://toto<br>TITI.

Tags: html mail widget

Related branches

Revision history for this message
Numérigraphe (numerigraphe) wrote :
Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :

Hello Numérigraphe,

I have checked your attachment, But It's little bit confusing for me. That's why I have attached the screen-sort of wall comment. would please check It and tell me you have faced the same problem ???

Thanks and waiting for your reply!

Changed in openerp-web:
status: New → Incomplete
Revision history for this message
Numérigraphe (numerigraphe) wrote :

Dear Amit,
Yes your screenshot shows the problem more clearly. The link should have stopped before the newline character.
Lionel.

Changed in openerp-web:
status: Incomplete → Confirmed
summary: - URL detection doesn't take newlines into account
+ [Trunk] URL detection doesn't take newlines into account
Changed in openerp-web:
importance: Undecided → Medium
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
Revision history for this message
Nicolas Vanhoren (OpenERP) (niv-openerp) wrote : Re: [Trunk] URL detection doesn't take newlines into account

The chatter is and OpenERP addon -> to addons team.

affects: openerp-web → openobject-addons
Changed in openobject-addons:
assignee: OpenERP R&D Web Team (openerp-dev-web) → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
summary: - [Trunk] URL detection doesn't take newlines into account
+ [chatter] URL detection doesn't take newlines into account
tags: added: html mail widget
Changed in openobject-addons:
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.