Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A45C10411 for ; Wed, 19 Feb 2014 17:16:45 +0000 (UTC) Received: (qmail 5931 invoked by uid 500); 19 Feb 2014 17:16:29 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 5733 invoked by uid 500); 19 Feb 2014 17:16:25 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 5524 invoked by uid 99); 19 Feb 2014 17:16:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Feb 2014 17:16:22 +0000 Date: Wed, 19 Feb 2014 17:16:22 +0000 (UTC) From: "Vitaly Brodetskyi (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-4738) Add unit test that verifies escaped urls(ProxyService) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-4738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vitaly Brodetskyi updated AMBARI-4738: -------------------------------------- Issue Type: Task (was: Bug) > Add unit test that verifies escaped urls(ProxyService) > ------------------------------------------------------ > > Key: AMBARI-4738 > URL: https://issues.apache.org/jira/browse/AMBARI-4738 > Project: Ambari > Issue Type: Task > Components: test > Affects Versions: 1.5.0 > Reporter: Vitaly Brodetskyi > Assignee: Vitaly Brodetskyi > Fix For: 1.5.0 > > Attachments: AMBARI-4738.patch > > > For completeness, we should have a unit test that verifies escaped urls are covered. IE: > /proxy?url=http%3a%2f%2fserver%3a8188%2fws%2fv1%2fapptimeline%2fHIVE_QUERY_ID%3ffields=events%2cprimaryfilters%26limit=10%26primaryFilter=user%3ahiveuser1 > In fact, requiring that syntax gets out of the substring/replace business and just use the url parameter and make a URI out of it. -- This message was sent by Atlassian JIRA (v6.1.5#6160)