使用get [RELEASE]升级后的jfrog人工制品6.2.0不再有效?

时间:2018-08-14 15:52:53

标签: artifactory

在使用[RELEASE]升级到Artifactory Pro 6.2.0之后,在请求的路径中使用该版本以获取最新的Maven版本工件似乎不再起作用。

$ wget --no-check-certificate -N --user=reader --password=****** -P . https://artifactory.***.com/artifactory/libs-release-local/envision/tools/envision-buildtools/\[RELEASE\]/envision-buildtools-\[RELEASE\].tgz
Warning: wildcards not supported in HTTP.
--2018-08-14 10:45:59--  https://artifactory.****.com/artifactory/libs-release-local/envision/tools/envision-buildtools/[RELEASE]/envision-buildtools-[RELEASE].tgz
Resolving artifactory.***.com... 10.***.**.**
Connecting to artifactory.***.com|10.***.**.**|:443... connected.
HTTP request sent, awaiting response... 400 Bad Request
2018-08-14 10:45:59 ERROR 400: Bad Request.

有没有解决方法或解决方法?

1 个答案:

答案 0 :(得分:0)

最后,这是Tomcat问题-不是Artifactory错误。我们必须更新server.xml,以添加relaxedPathChars和relaxedQueryChars属性,如下所示。

<Connector port="8081" sendReasonPhrase="true" relaxedPathChars='[]' relaxedQueryChars='[]'/>