Drupal Relative Path
You must have some kind of text filter that is acting on your text
see what filters are applied here:
admin/config/content/formats

Or you are using a WYSIWYG editor to add the link.  If that is ckeditor, you have to set relative links to "Other" rather than http in the link editor.