DPDK CI discussions
 help / color / Atom feed
* [dpdk-ci] [Bug 302] Google's Webcache version of the website does not work
@ 2019-07-01 20:26 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2019-07-01 20:26 UTC (permalink / raw)
  To: ci

https://bugs.dpdk.org/show_bug.cgi?id=302

            Bug ID: 302
           Summary: Google's Webcache version of the website does not work
           Product: lab
           Version: unspecified
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: Normal
         Component: dashboard
          Assignee: ci@dpdk.org
          Reporter: jplsek@iol.unh.edu
                CC: jplsek@iol.unh.edu
  Target Milestone: ---

Google's Webcache version of the website does not save or dynamically load the
tables from Javascript.

For example:
https://webcache.googleusercontent.com/search?q=cache:AToLV55T2rcJ:https://lab.dpdk.org/results/dashboard/+&cd=1&hl=en&ct=clnk&gl=us

This is because the CORS header 'Access-Control-Allow-Origin' is missing from
the server response.

A solution is to add the header with either a wildcard (*) or a list of allowed
sites.

Since the result of the fetch contains different information when logged in, I
don't think it's a good idea to use a wildcard (I'm not sure of the security
implications, if any).

A list of sites may be okay, but is there a specific list of trusted sites?

Another option could be to detect the bot server-side and fully return a
rendered page. (This could also add another benefit to CLI users, where a fully
rendered page is returned, but odds are, you'd probably want to use the REST
API.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-01 20:26 [dpdk-ci] [Bug 302] Google's Webcache version of the website does not work bugzilla

DPDK CI discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/ci/0 ci/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ci ci/ http://inbox.dpdk.org/ci \
		ci@dpdk.org
	public-inbox-index ci


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.ci


AGPL code for this site: git clone https://public-inbox.org/ public-inbox