tinymce/tinymce — pull request #114 by aknosis (2012-03-07 19:02:45+00:00)
Title: Bugfix 2707 - Allow usage of the full base_uri when relative_urls = true

When relative_urls = true, the only way to create a link that refers to the root domain is to use ./ which is not very user friendly and can confuse novice users.

The "bug" that comes into play is when you enter http://www.site.com/ into the link editor it creates a link with an empty href which won't work, if you enter http://www.site.com the code blows up and gives an undefined in the href.

This fixes the bug noted here: http://www.tinymce.com/develop/bugtracker_view.php?id=2707

This can be duplicated with the lastest TinyMCE here: http://fiddle.tinymce.com/wcbaab/8