MyBB Community Forums

Full Version: Links Problem !
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi ...
I have a problem!
in mybb if i insert a link with ] or [ link's mycode not work!
For Example: My link is:
http://dl.graphiran.com/psd/92/7/abstract-face-effect-generator[www.graphiran.com].rar

If i insert This link in my forum link not work.

Test Here: .rar]Download Link

You can see this link not work !!!!!!

Everyone can test it.

How can i Fix it ??

Thanks a lot. Heart
thanks.
how can fix this for option 3 ??
Do you have a solution

Thanks
When encoding the brackets properly, the link works fine tough:
http://dl.graphiran.com/psd/92/7/abstrac...com%5D.rar

See: http://stackoverflow.com/a/1547922
Shouldn't that be done automatically, at least inside [url] tag? Most users don't know what encoding is.
(2014-07-02, 08:57 AM)Destroy666 Wrote: [ -> ]Shouldn't that be done automatically, at least inside [url] tag? Most users don't know what encoding is.
Actually I don't see how this should be done. It is almost impossible for the regex to know if the closing bracket belongs to the URL or the MyCode.
(2014-07-02, 08:57 AM)Destroy666 Wrote: [ -> ]Shouldn't that be done automatically, at least inside [url] tag? Most users don't know what encoding is.

Exactly ... my users don't know how can use this code:
[url][/url]

And use editor for this and editor broken link! and link not show.
(2014-07-02, 09:59 AM)StefanT Wrote: [ -> ]
(2014-07-02, 08:57 AM)Destroy666 Wrote: [ -> ]Shouldn't that be done automatically, at least inside [url] tag? Most users don't know what encoding is.
Actually I don't see how this should be done. It is almost impossible for the regex to know if the closing bracket belongs to the URL or the MyCode.

What if at least within the add link button/ wizard we take the input from the URL field and encode that before appending it to the textarea? At least it could work some of the time then.