Merely having a link to http:// gallery.minitokyo.net/view/ without the errant space causes an error. Note: the error message is actually modified since I couldn't post it with the final / after view or this problem would error this post as well.
Quote: MySQL Error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '://gallery.minitokyo.net/view/' at line 4
Query:SELECT g.title, u.name
FROM gallery_items AS g
JOIN users AS u ON g.uid = u.id
WHERE g.id = http://gallery.minitokyo.net/view