Haloperidol / ljxp

Automatically exported from code.google.com/p/ljxp
0 stars 0 forks source link

In crosspost link leads to a url like http://blog.tld/http://google.com instead of http://google.com #141

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Write a post with a link to any url, for example http://google.com
2. Publish post with crosspost to livejournal

What is the expected output?
Crosspost as it was been written on the blog

What do you see instead?
In crosspost link leads to a url like http://blog.tld/http://google.com where 
blog.tld is the url of the wordpress blog.

What version of the plugin are you using? What version of WordPress?
WordPress 3.2.1, LiveJournal Crossposter 2.2

Please provide any additional information below.

Original issue reported on code.google.com by su...@hostenko.com on 7 Aug 2011 at 8:41

GoogleCodeExporter commented 8 years ago
I'm having the same issue as this. Also using WordPress 3.2.1, LiveJournal 
Crossposter 2.2.

All my urls work fine in wordpress, but when cross posted start with my 
wordpress's url. 

So http://google.com becomes 
http://www.deviouscreations.co.uk/http://google.com... 

Original comment by daniel_g...@hotmail.com on 8 Aug 2011 at 12:33

GoogleCodeExporter commented 8 years ago
Argh. It looks like the relative linking function is messing with all URLs, not 
just relative ones. I'll get a fix out as soon as I can. In the meantime, you 
can disable the function in your copy of the plugin. Go to line 233 in 
lj-xp.php and comment it out:

// $the_content = ljxp_fix_relative_links($the_content);

Original comment by st...@sillybean.net on 8 Aug 2011 at 12:40

GoogleCodeExporter commented 8 years ago
... actually, never mind that, I think I've fixed it. Could you guys grab 
2.2.1-beta, update the posts with the broken links, and let me know if this 
fixes the problem?
http://code.google.com/p/ljxp/downloads/detail?name=lj-xp-2.2.1-beta.zip

Original comment by st...@sillybean.net on 8 Aug 2011 at 12:55

GoogleCodeExporter commented 8 years ago
Hi, in the attached beta issue has been resolved.

Original comment by su...@hostenko.com on 8 Aug 2011 at 6:48

GoogleCodeExporter commented 8 years ago
Excellent. I'll release the update. Thanks for the bug report!

Original comment by st...@sillybean.net on 8 Aug 2011 at 2:54