Issue 16543

Search icon doesn't show correctly

16543
Reporter: bko
Assignee: fmendez
Type: Bug
Summary: Search icon doesn't show correctly
Priority: Trivial
Resolution: Fixed
Status: Closed
Created: 2014-10-22 10:32:24.785
Updated: 2015-03-03 01:31:22.694
Resolved: 2015-03-02 23:29:21.088
        
Description: This only happens on Chrome and Firefox so far, not on Safari. On Chrome, a message on console says:

"Font from origin 'http://cdn.gbif.org' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.gbif.org' is therefore not allowed access."]]>
    

Attachment Screenshot 2014-10-22 10.29.22.png



Author: bko@gbif.org
Comment: [~trobertson@gbif.org] is this something a setting change on CDN could solve?
Created: 2014-10-22 10:33:06.845
Updated: 2014-10-22 10:33:06.845


Author: trobertson@gbif.org
Created: 2014-10-22 14:01:59.802
Updated: 2014-10-22 14:01:59.802
        
This is nothing to do with the CDN settings, but relates to the rewrite rules we apply in the Apache module that is instructing the browser to retrieve the image from CDN.

We should either fix the issue properly (so the image can be delivered by CDN) which would require a change in the way it is being referenced (e.g. is that in CSS or something like a web font definition?) or we should adjust the rewrite rules to ignore that single image.  
    


Author: bko@gbif.org
Created: 2014-10-22 14:10:51.115
Updated: 2014-10-22 14:10:51.115
        
It is the glyphicons provided by bootstrap 3, so I think to properly fix that we could dig into bootstrap and give the fix as feedback to them. That'll take longer. Or if we'd rewrite rules and these files should be excluded, I think:

https://github.com/gbif/gbif-drupal/tree/master/sites/all/themes/custom/bvng/bootstrap/fonts
    


Author: fmendez@gbif.org
Comment: works on chrome now
Created: 2015-03-02 23:29:21.111
Updated: 2015-03-02 23:29:21.111