Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Apply help:questions about jgit redirect problem

Is it ok from HTTPS to HTTPS or from HTTP to HTTP ?






在 2022-04-07 17:59:21,"Thomas Wolf" <thomas.wolf@xxxxxxxxxx> 写道:



On 7 Apr 2022, at 11:37, 李津京 <lijinjing123@xxxxxxx> wrote:

        But when I run the code, it gives back an exception as:
       2022-04-07 16:28:07,200  INFO ExceptionAdvice:46 - [21],服务业务异常,20005,https://username@xxxxxxxxxxxxxxx/baidu/***/***: Redirection blocked: redirect https://username@xxxxxxxxxxxxxxx/baidu/***/***/ -> http://icode.baidu.com?service=git-upload-pack not allowed


JGit does not follow redirections from HTTPS to HTTP.

Cheers,

  Thomas


 


Back to the top