Topic: [Bug/Confirmed] DText link parsing with @ produces wrong result.

Posted under Site Bug Reports & Feature Requests

Bug overview description.
Strongbird: Unable to link to a Twitter user page via the Description section of post #859437

The DText involved is

"@LupeSilverwind":https://twitter.com/LupeSilverwind

The result is

"@LupeSilverwind";:https://twitter.com/LupeSilverwind

Looks like it just adds a semicolon despite using the formatting in the DText helpfile

"A link":http://example.com/

This affects the http:// version of the same link as well.

What part(s) of the site page(s) are affected?
DText

What is the expected behavior?
Should not contain a semicolon.

What actual behavior is given instead?
Link contains a semicolon.

Time of incident. (If applicable)
N/A

Can you reproduce the bug every time?
Yes

What steps did you take to replicated this bug?
N/A

Errors or other messages returned. (If any)
N/A

Marked as being confirmed and on TODO list.

DText queen @parasprite adds:

The @ is causing the issue here.

It's because the code that parses @somename (e.g., @parasprite) is terrible. 

I'll put this on my todo list.

Updated by anonymous

  • 1