Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2693

HTTPS/SSL errors due to fonts.googleapis.com import

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 7.0.6
    • Component/s: None
    • Labels:
      None

      Description

      In src/main/resources/web/atlantic/zul/less/norm.less
      the following line is setting http:// so you get errors when using this theme under https
      @import ~"url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700)";

      Suggested fix – change the line to:
      @import ~"url(//fonts.googleapis.com/css?family=Open+Sans:400,300,600,700)";

      I've done this on my local build to solve the problem but it would be nice if it was upstream.

      you may also want to look at line 249 of the same file to remove the http there also.
      background-image: url('http://www.zkoss.org/zk/img/${z:encodeWithZK("zkpowered.png")}');

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              DevChu DevChu
              Reporter:
              DevChu DevChu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: