Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id F1C44200BD5 for ; Thu, 8 Dec 2016 08:58:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id F063C160B27; Thu, 8 Dec 2016 07:58:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 45389160B1E for ; Thu, 8 Dec 2016 08:58:00 +0100 (CET) Received: (qmail 77252 invoked by uid 500); 8 Dec 2016 07:57:59 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 77225 invoked by uid 99); 8 Dec 2016 07:57:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2016 07:57:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 607882C0079 for ; Thu, 8 Dec 2016 07:57:59 +0000 (UTC) Date: Thu, 8 Dec 2016 07:57:59 +0000 (UTC) From: "Mike (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HTTPCLIENT-1793) Digest authentication - bad format of URI param MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 08 Dec 2016 07:58:01 -0000 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15731475#comment-15731475 ] Mike edited comment on HTTPCLIENT-1793 at 12/8/16 7:57 AM: ----------------------------------------------------------- You are right, it seems there is no passage with this. So the problem will be probably somewhere else. Thank you was (Author: michalcermak): You are right, it seems there is no passage with this. So the problem will be probably somewhere else. > Digest authentication - bad format of URI param > ------------------------------------------------ > > Key: HTTPCLIENT-1793 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1793 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient (classic) > Affects Versions: 4.5.2 > Reporter: Mike > > There is a trouble when using http client digest authentication. The final header created by DigestScheme.java encodes/containst absolute uri, but it should use/contains relative uri as described here > https://tools.ietf.org/html/rfc2617#section-3.2.2 > Example header - as is > Authorization: Digest username="username", > realm="TTS-Server-3.0", > nonce="6abecfe8248be3bb335601bc5064dsa227473", > uri="http://services.speechtech.cz/tts/v3/synth", > response="6c99f1cbdasd904329f85a060aa75b3777e427f", > qop=auth, nc=00000001, > cnonce="1b35dsa6d523b7805fdsfdc4", algorithm=MD5 > Example header - to be > Authorization: Digest username="username", > realm="TTS-Server-3.0", > nonce="6abdasdecfe824dasd8be3bb335601bc5064a227473", > uri="/tts/v3/synth", > response="6c99f1cdsb904329dsadadf85a060aa75b3777e427f", > qop=auth, nc=00000001, > cnonce="1b35dsa6d523bdada7805fdsfdc4", algorithm=MD5 > Sample code implementation > http://www.baeldung.com/resttemplate-digest-authentication -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org