jasper icon indicating copy to clipboard operation
jasper copied to clipboard

GHE PathPrefix config bug

Open vipermax opened this issue 6 years ago • 0 comments

The default GHE config set PathPrefix="/api/v3/".

However, when the http request is processed by path.normalize(), it adds an extra "/" at the beginning and result to requestPath="ghe.yourcompany.com//api/v3/user". This cause a validation error.

I can make it working by manually remove the leading "/" from the config screen step 3. But I think this should be fixed at the code level.

(This could be a duplication of exiting issue around GHE, but I am not sure. so allow me to open a new issue.)

vipermax avatar May 13 '19 05:05 vipermax