By Taalteam JoomlaCommunity.eu on Tuesday, 03 January 2017
Posted in Technical Issues
Replies 6
Likes 0
Views 621
Votes 0
When we use an abbreviation in Dutch we tend to include dots for correct grammar. Somehow EasyDiscuss sees this as a local URL. Is there anyway to discard the automatic URL detection?
Hi there,

I am sorry for the delay of this reply. It seems that i cant replicate this on my local.

Maybe you can provide us with your backend and FTP access for further check on this issues or maybe you can provide us on how to replicate this on my local? Which editor you are using? Please advice.
·
Tuesday, 03 January 2017 10:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Abdul,

I have spending some time to look into this issue and tracked it down in EasyDiscuss version 4.0.11?

The issue is caused by the preg_replace pattern in /administrator/components/com_easydiscuss/includes/string/string.php, line 368:

$patternReplace = '@(?<![.*">])\b(??:https?|ftp|file)://|[a-z]\.)[-A-Z0-9+&#/%=~_|$?!:,.]*[A-Z0-9+&#/%=~_|$]@i';

This pattern is causing text like: o.a. to be replaced with a link. But only if another link is already placed in the text. So:

https://stackideas.com/forums/unwanted-url-in-text some text and then o.a.

I'm not a regex expert, but I guess the pattern continues to the dot in the o.a. text.

Hopefully this helps you further fixing the issue for us.

Thanks, Sander Potjer

Edit after posting: see, happens on this forum too
·
Friday, 06 January 2017 03:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Thanks Sander Potjer for your explaination. I have tried to replicated this and it seems this issues comes from our end. I have reported this issues to our developer and we will see if we can implement this in the future version.
·
Friday, 06 January 2017 10:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Abdul,

Any updates on this?

Thanks, Sander
·
Tuesday, 10 January 2017 06:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Our developer still checking on this. This fixes will be included on our future release version. Thanks for your understandings
·
Tuesday, 10 January 2017 10:20
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post