小编Usa*_*oot的帖子

IE11如何填充window.location.origin?

我有一个问题的非生产环境的Internet Explorer 11,其中

window.location.originundefined.

但是,在生产环境中,此值实际返回

window.location.origin = http://www.myproductionwebsite.com

此问题仅存在于Internet Explorer中,并且适用于生产和非生产环境中的Chrome和Firefox,这使我相信它是IE11中Chakra JavaScript引擎的填充方式origin.

我还查看了生产和非生产环境中的请求和响应标头,所有参数都是相同的.

Internet Explorer 11如何window.origin.location以不同的方式计算Chrome或Firefox?

javascript internet-explorer intranet chakra internet-explorer-11

7
推荐指数
1
解决办法
5075
查看次数

Docker Jenkins Image - curl:(3)在URL中找到非法字符

我创建了以下Dockerfile来创建Jenkins容器.它成功地在OSX上运行,但是当我在Windows 7上尝试它时,在构建容器时出现以下错误.

Sending build context to Docker daemon 32.26 kB
Step 1 : FROM jenkins:latest
---> 997d1b2b89a5
Step 2 : COPY plugins.txt /var/jenkins_home/plugins.txt
---> Using cache
---> 632e6f94438c
Step 3 : RUN /usr/local/bin/plugins.sh /var/jenkins_home/plugins.txt
---> Running in a56c01d8afe0
Downloading credentials:1.24
curl: (3) Illegal characters found in URL
SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check …
Run Code Online (Sandbox Code Playgroud)

windows jenkins docker

3
推荐指数
1
解决办法
1170
查看次数