From 14fe91e340064a4599a515bcf76c35444ff5183f Mon Sep 17 00:00:00 2001 From: colintu Date: Sun, 26 Jul 2009 15:59:14 +0000 Subject: [PATCH] Remove unneeded escapes in cddb-tool URLs. git-svn-id: http://abcde.googlecode.com/svn/trunk@258 a0fa61bc-5347-0410-a1a9-7f54aa4e1825 --- cddb-tool | 6 +++--- debian/changelog | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cddb-tool b/cddb-tool index bdd9613..e0df3b1 100755 --- a/cddb-tool +++ b/cddb-tool @@ -208,7 +208,7 @@ query) # cddb-tool query serverurl proto user host discid... shift 4 TRACKINFO="$@" TRACKINFOPLUS=$(echo $TRACKINFO | tr ' ' '+') - RESULTS=$($HTTPGET "$SERVER?cmd=cddb+query+$TRACKINFOPLUS\&hello=$HELLOINFO\&proto=$PROTO") || exit $LOOKUP_ERR + RESULTS=$($HTTPGET "$SERVER?cmd=cddb+query+$TRACKINFOPLUS&hello=$HELLOINFO&proto=$PROTO") || exit $LOOKUP_ERR echo "$RESULTS" | tr '\r' '\n' | tr -s '\n' | sed 's/^ //g' ;; @@ -220,7 +220,7 @@ read) # cddb-tool read serverurl proto user host genre discnumber CATEGORY="$5" DISCID="$6" HELLOINFO="$USER+$HOST+$NAME+$VERSION" - $HTTPGET $CDDBDATA "$SERVER?cmd=cddb+read+$CATEGORY+$DISCID\&hello=$HELLOINFO\&proto=$PROTO" 2>/dev/null + $HTTPGET $CDDBDATA "$SERVER?cmd=cddb+read+$CATEGORY+$DISCID&hello=$HELLOINFO&proto=$PROTO" 2>/dev/null ;; stat) # cddb-tool stat serverurl user host proto @@ -229,7 +229,7 @@ stat) # cddb-tool stat serverurl user host proto HOST="$3" PROTO="$4" HELLOINFO="$USER+$HOST+$NAME+$VERSION" - $HTTPGET $CDDBDATA "$SERVER?cmd=stat&hello=$HELLOINFO\&proto=$PROTO" 2>/dev/null + $HTTPGET $CDDBDATA "$SERVER?cmd=stat&hello=$HELLOINFO&proto=$PROTO" 2>/dev/null ;; help) # help diff --git a/debian/changelog b/debian/changelog index 06a2712..f9f1cfb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,8 +6,9 @@ abcde (2.3.99.8-1) unstable; urgency=low * Fix misspelling of comma in script and manpage (Closes: #435603). * Fix Writable temp directories not owned/writeable (Closes: #143552). * Fix broken range code, patch from Charles Steinkuehler (Closes: #389981). + * Remove unneeded escapes in cddb-tool URLs. - -- Colin Tuckley Sun, 26 Jul 2009 16:24:59 +0100 + -- Colin Tuckley Sun, 26 Jul 2009 16:58:00 +0100 abcde (2.3.99.7-1) unstable; urgency=low -- 2.20.1