Package: boa
Version: 0.94.14rc21-3.1
Severity: wishlist
Tags: upstream

Sorry if this is not the correct venue for this request...it seems the
upstream maintainer has abandoned it?

Anyways, I have some CGI which relies (*sigh*) on using ';' to separate
the query string rather than '?', as in:
   http://foo/cgi/bar.cgi;key=val
instead of the traditional:
   http://foo/cgi/bar.cgi?key=val

I'm not sure if the semicolon separator is truly standard but it has
become increasingly popular, and it is easy to support.

Anyways, it is so easy that I'm including a patch.

I won't be offended if this is ignored. :)

Thanks!

Patch:
---------cut here-----------
--- src/util.c  2010/10/18 17:34:17
+++ src/util.c  2010/10/18 17:34:50
@@ -415,7 +415,7 @@
                 return 0;
             }
             ++uri;
-        } else if (c == '?') {  /* query string */
+        } else if (strchr("?;", c)) {  /* query string */
             if (query_string)
                 *query_string = ++uri_old;
             /* stop here */
@@ -427,7 +427,7 @@
             if (query_string) {
                 ++uri_old;
                 while ((c = *uri_old)) {
-                    if (c == '?') {
+                    if (strchr("?;", c)) {
                         *query_string = ++uri_old;
                         break;
                     }
---------cut here-----------

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.27.37 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages boa depends on:
ii  dpkg                      1.15.4         Debian package management system
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 
ii  libc6                     2.10.1-7       GNU C Library: Shared libraries
ii  logrotate                 3.5.9-8        Log rotation utility
ii  mime-support              3.18-1         MIME files 'mime.types' & 'mailcap

boa recommends no packages.

boa suggests no packages.

-- Configuration Files:
/etc/boa/boa.conf changed [not included]
/etc/logrotate.d/boa changed [not included]

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to