Project

General

Profile

Bug #4884

link to gravatar image in a header have "https:///" instead of "https://"

Added by Bryan Kearney about 5 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1003520
Description of problem:
When I log-in using Opera browser, I do not see gravatar image close to my username in upper right corner of the screen. In Firefox, all is OK.

Version-Release number of selected component (if applicable):
SAM 1.3 snapshot #4

How reproducible:
always

Steps to Reproduce:
1. Login to SAM, check your icon at upper right corner.

Actual results:
No icon there - HTML code looks like this:
<img src="https:///secure.gravatar.com/avatar/7ab3e0303edd4e2d550b8905df183d6f?d=mm&s=25" class="gravatar"/>

Expected results:
<img src="https://secure.gravatar.com/avatar/7ab3e0303edd4e2d550b8905df183d6f?d=mm&s=25" class="gravatar"/>

Additional info:
Looks like Firefox handles these three "/", but Opera not.

Associated revisions

Revision ae095693 (diff)
Added by Bryan Kearney about 5 years ago

Fixes #4884 : remove duplicate slashes from the gravatar url

The issue is that request.protocol returns http:// instead of http. The code assumed no trailing slashes

History

#1 Updated by Dominic Cleal about 5 years ago

  • Category set to Web Interface
  • Status changed from New to Ready For Testing
  • Assignee set to Bryan Kearney
  • Target version set to 1.8.4

#2 Updated by Anonymous about 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Dominic Cleal about 5 years ago

  • Legacy Backlogs Release (now unused) set to 4

#4 Updated by Dominic Cleal about 5 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1003520

Also available in: Atom PDF