This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 129963 [details] Log file excerpt Symptom looks similar to bug #209427 but cause is quite different. Connecting to a Jenkins instance using an API token will fail in case the BASIC auth header in Base64 encoding exceeds the default line limit of 76 characters, since the encoded form then gets chunked and the line break is rightly rejected by the HTTP networking layer.
Created attachment 129964 [details] Proposed patch
(In reply to comment #1) > Created attachment 129964 [details] > Proposed patch Integrated as http://hg.netbeans.org/core-main/rev/e502d89ae685 Thank you very much, Jesse.
Thanks for quick response! As you can see there are several more patches in my queue… By the way, ‘hg import’ ought to record the original author where it is specified in the patch, as this was.
(In reply to comment #3) > By the way, ‘hg import’ ought to record the original author where it is > specified in the patch, as this was. I'm sorry, I was afraid that committing as another user is not allowed. Other patches should be correct. Thank you for the patches and for help.
(In reply to comment #4) > I was afraid that committing as another user is not allowed. I think it is conventional if you are just accepting the patch as is. After all, this is very similar to pulling finished changesets from a bundle or a branch. If you edit the patch before committing, then it is better to put your own name on it and credit the original author in the comment where appropriate. (Git has a distinction between “author” and “committer” for this reason, but Mercurial keeps it simpler.)
Integrated into 'main-golden', will be available in build *201301090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e502d89ae685 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #224576: IAE from \r\n in message header using APITokenConnectionAuthenticator