Return-Path: X-Original-To: apmail-apr-dev-archive@www.apache.org Delivered-To: apmail-apr-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 13E5FFBDE for ; Tue, 28 May 2013 17:16:25 +0000 (UTC) Received: (qmail 64474 invoked by uid 500); 28 May 2013 17:16:25 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 64099 invoked by uid 500); 28 May 2013 17:16:24 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 64072 invoked by uid 99); 28 May 2013 17:16:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 17:16:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ben@reser.org designates 50.197.89.41 as permitted sender) Received: from [50.197.89.41] (HELO mail.brain.org) (50.197.89.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 17:16:18 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.brain.org (Postfix) with ESMTP id 3905B179E19A for ; Tue, 28 May 2013 10:15:57 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at fornix.brain.org Received: from mail.brain.org ([127.0.0.1]) by localhost (fornix.brain.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JscAh47dkpk8 for ; Tue, 28 May 2013 10:15:54 -0700 (PDT) Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::22b]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.brain.org (Postfix) with ESMTPSA id 512CF179E16F for ; Tue, 28 May 2013 10:15:53 -0700 (PDT) Received: by mail-ob0-f171.google.com with SMTP id ef5so9329266obb.2 for ; Tue, 28 May 2013 10:15:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8ZaBUCDFfAoJ0AOlGnIEndV/iuCg/hsSFJEZ2Wlkiuo=; b=UBBnP8DSJKtjb5nMNrR/N7/LcwgjVdQxxfFdrlm+mtpEe65A5HoK6afsxaYly6Sl8a l0YDIHpAEBkzxPAp7Xs43W7ScAW3JpxRGJoQeiyqtNag8/PK87gGjDdSclE/Oo3WqQ9k IyqMaTbwtANd8bZZs31NM/dHEJwh+eNxbvU3ADEDrnvqAM0LVmNXJMpIBt8/GAWkDrtH r5UG9U681kGjJ+FUDa0NX4uh0Izq4sl40hSEH0VG0OthUPwmWiTf0Tdi1NyD6xCE9txt tHhdUQ3kKxyZXANQ5uoiir540gGttC97ddcMSu2j1+ke5h16b30TbRKPvGlMOoT+3qME EZrw== MIME-Version: 1.0 X-Received: by 10.60.65.5 with SMTP id t5mr21708307oes.139.1369761352169; Tue, 28 May 2013 10:15:52 -0700 (PDT) Received: by 10.60.170.144 with HTTP; Tue, 28 May 2013 10:15:52 -0700 (PDT) In-Reply-To: <77CE26FB-BC41-4E8B-8F3D-6AF66F7DCDA6@sharp.fm> References: <77CE26FB-BC41-4E8B-8F3D-6AF66F7DCDA6@sharp.fm> Date: Tue, 28 May 2013 10:15:52 -0700 Message-ID: Subject: Re: Escape / encode functions From: Ben Reser To: Graham Leggett Cc: APR Developer List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Tue, May 28, 2013 at 8:30 AM, Graham Leggett wrote: > APR currently contains the ability to base64 encode/decode, but many other encodings such as urlencoding are currently embedded in httpd, limiting their use in generic applications. > > Would it make sense in the long term to create formal APIs for urlencoding/escaping? If no objections I plan to make this so. Makes sense to me. Subversion includes our own implementations of URL escaping as part of our svn_uri_canonicalize().