News:

Wondering if this will always be free?  See why free is better.

Main Menu

Where is autolinking function?

Started by blamed, September 27, 2012, 03:03:01 PM

Previous topic - Next topic

emanuele

Yep, that's what I wrote after editing... :P


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

blamed

As I said it's probably local bug, caused by some modes.

I DONT use url button))

blamed

https://google.com. - good
https://www.google.com/search. - broken
www.google.com/search. - good
www.forum.loc/index.php/topic,187.new.html#new. - good
http://www.forum.loc/index.php/topic,187.new.html#new. - broken.

It will be long debugging it seems... Thanks for the help. 

emanuele

https://google.com.
https://www.google.com/search.
www.google.com/search.
www.forum.loc/index.php/topic,187.new.html#new.
http://www.forum.loc/index.php/topic,187.new.html#new.

Quote from: blamed on September 27, 2012, 04:49:21 PM
As I said it's probably local bug, caused by some modes.
Yep, but you know, I read "bug" and I want to be sure it's not a bug! ;D

oh, and welcome to sm.org!


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

blamed

I found who is guilty. It's Aeva. Somewhere in Aeva-subs.php something is wrong, I don't yet know what exactly... 

blamed

It was aeva_autolink_urls

Changed from

'`(^|[\s>\.(;\'"]|\[(?:center|li|td|youtube|/\w+)])((?:http|https|ftp|ftps)://[\w%@:|-]+(?:\.[\w%-]+)*(?::\d+)?(?:/[\w\~%\.@,\?&;=#+:\'\\\\-]*|[\(\{][\w\~%\.@,\?&;=#(){}+:\'\\\\-]*)*[/\w\~%@\?;=#}\\\\-]?)`ui',
'`(^|[\s>\.(;\'"]|\[(?:center|li|td|youtube|/\w+)])(www(?:\.[\w-]+)+(?::\d+)?(?:/[\w\~%\.@,\?&;=#+:\'\\\\-]*|[\(\{][\w\~%\.@,\?&;=#(){}+:\'\\\\-]*)*[/\w\~%@\?;=#}\\\\-])`ui'),


to


'`(^|[\s>\.(;\'"]|\[(?:center|li|td|youtube|/\w+)])((?:http|https|ftp|ftps)://[\w\-_%@:|]+(?:\.[\w\-_%]+)*(?::\d+)?(?:/[\w\-_\~%\.@!,\?&;=#(){}+:\'\\\\]*)*[/\w\-_\~%@\?;=#}\\\\])`ui',
'`(^|[\s>\.(;\'"]|\[(?:center|li|td|youtube|/\w+)])(www(?:\.[\w\-_]+)+(?::\d+)?(?:/[\w\-_\~%\.@!,\?&;=#(){}+:\'\\\\]*)*[/\w\-_\~%@\?;=#}\\\\])`ui'),


And everything works fine now. Or so it seems.

So, I guess I can mark it as "solved". Too bad non-latin characters is not possible..   

Arantor

Don't be surprised if other things now break...

Kindred

Hmmmmm.. I have aeva installed and don't have this problem...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: