Issue 1636 - Removed extra '/'s in generated urls

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11675 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
petehayes committed 2008-08-22 12:26:33 +00:00
1 parent 62be05d9dc
commit a46f0a8fb3
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@
<!-- ATOM. See http://atompub.org/rfc4287.html for the format -->
<feed xmlns="http://www.w3.org/2005/Atom">
<title>${title}</title>
<link rel="alternate" type="text/html" href="${rootURL}/${url}"/>
<link rel="alternate" type="text/html" href="${rootURL}${url}"/>
<j:choose>
<j:when test="${empty(entries)}">
@@ -23,7 +23,7 @@
<j:forEach var="e" items="${entries}" >
<entry>
<title>${h.xmlEscape(adapter.getEntryTitle(e))}</title>
<link rel="alternate" type="text/html" href="${rootURL}/${h.encode(adapter.getEntryUrl(e))}"/>
<link rel="alternate" type="text/html" href="${rootURL}${h.encode(adapter.getEntryUrl(e))}"/>
<id>${adapter.getEntryID(e)}</id>
<published>${h.xsDate(adapter.getEntryTimestamp(e))}</published>
<updated>${h.xsDate(adapter.getEntryTimestamp(e))}</updated>
+2 -2
View File
@@ -6,13 +6,13 @@
<rss version="2.0">
<channel>
<title>${title}</title>
<link>${rootURL}/${url}</link>
<link>${rootURL}${url}</link>
<description>${title}</description>
<j:forEach var="e" items="${entries}" >
<item>
<title>${h.xmlEscape(adapter.getEntryTitle(e))}</title>
<link>${rootURL}/${h.encode(adapter.getEntryUrl(e))}</link>
<link>${rootURL}${h.encode(adapter.getEntryUrl(e))}</link>
<guid isPermaLink="false">${adapter.getEntryID(e)}</guid>
<pubDate>${h.rfc822Date(adapter.getEntryTimestamp(e))}</pubDate>
<author>${adapter.getEntryAuthor(e)}</author>