Blam Theme Images not Displayed

Bug #95758 reported by Dave Meikle
4
Affects Status Importance Assigned to Milestone
blam (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: blam

Version
----------
Blam 1.8.4 (1.8.4-0ubuntu1)

Steps to Reproduce
--------------------------
1) Run Blam
2) Select a Feed
3) Select an Article/Item
4) The Blam Theme Images are not displayed.

Tags: patch
Revision history for this message
Dave Meikle (dmk-uk) wrote :

To fix this I believe the following line should be removed from the <head> tag in each themes theme.html file:

<base href="${url}" />

See attached file for changes.

Regards,
Dave

Revision history for this message
Dan Winship (danw-gnome) wrote :

Seen in my http logs:

"GET /~danw/blog/2007/03/blam-box-top-left.png HTTP/1.1" 404 361 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)"
"GET /~danw/blog/2007/03/blam-box-pad.png HTTP/1.1" 404 356 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)"
"GET /~danw/blog/2007/03/blam-box-top-right.png HTTP/1.1" 404 362 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)"
"GET /~danw/blog/2007/03/blam-box-bottom-left.png HTTP/1.1" 404 364 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)"
"GET /~danw/blog/2007/03/blam-box-bottom-right.png HTTP/1.1" 404 365 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)"

at various times from various IP addresses, but always with the same "Ubuntu-feisty" User-Agent string. Blam in feisty is apparently trying to find its theme images on the blog server rather than on local disk.

Revision history for this message
Dave Meikle (dmk-uk) wrote :

Hi Dan,

As you probably already know, this is due to the <base href="${url}" /> tag saying that your URL is where the relative URLs should start from.

Hopefully someone can integrate this change as it does leave blam somewhat broken, and making useless HTTP requests.

Cheers,
Dave

Revision history for this message
Carlos Martín Nieto (cmn) wrote :

This is fixed in blam SVN HEAD. Could someone from the MOTU or whatever pick them up?

Changed in blam:
assignee: nobody → onkarshinde
Revision history for this message
Onkar Shinde (onkarshinde) wrote :

The version in hardy has fix for this problem.

Changed in blam:
assignee: onkarshinde → nobody
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.