Like tseven said in http://drupal.org/node/963254#comment-3977780

The function 'file_create_url' creates a full url.

There is a fix for this in D7. Dont know about D6 yet.

CommentFileSizeAuthor
#1 linkit.1055638.patch862 bytesanon

Comments

anon’s picture

Status: Active » Needs review
StatusFileSize
new862 bytes
betamos’s picture

Title: Linkit_file injects a URL including domain. » Linkit inserts absolute URI to files
Category: task » bug
Status: Needs review » Patch (to be ported)
Issue tags: +D6 patch port

I would say this is a bug, since the absolute URI isn't handled by pathologic and causes a broken link if the domain is changed. [Changing category]

Patch works like a charm. Committing to 7.x-1.x-dev.

Also port this patch to D6 if the problem occurs there as well.

betamos’s picture

dupe, sry

anon’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
anon’s picture

Status: Patch (to be ported) » Fixed

Fix commited to 6.x-1.x

Status: Fixed » Closed (fixed)
Issue tags: -D6 patch port

Automatically closed -- issue fixed for 2 weeks with no activity.