Issue 59 in feed-on-feeds: Missing server port in shared feed link

1 view
Skip to first unread message

codesite...@google.com

unread,
Jun 22, 2009, 7:24:40 AM6/22/09
to feed-on-fe...@googlegroups.com
Status: New
Owner: ----

New issue 59 by dangquangvu: Missing server port in shared feed link
http://code.google.com/p/feed-on-feeds/issues/detail?id=59

In case server port isn't 80, shared feed link is wrong.
Modification in shared.php

$server_port = $_SERVER['SERVER_PORT'] != 80 ? ':' .
$_SERVER['SERVER_PORT'] : '';
$shared_feed = htmlspecialchars("http://" . $_SERVER['SERVER_NAME'] .
$server_port . $_SERVER['PHP_SELF'] . "?user=$user&format=atom");
$shared_link = htmlspecialchars("http://" . $_SERVER['SERVER_NAME'] .
$server_port . $_SERVER['PHP_SELF'] . "?user=$user");


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply all
Reply to author
Forward
0 new messages