[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#600625: marked as done (Boa should support "; " as an alternative to "?" for indicating CGI get content)



Your message dated Mon, 17 Jun 2013 14:06:13 +0200
with message-id <20130617120612.GA8781@sym.noone.org>
and subject line Re: Bug#600625: Boa should support "; " as an alternative to "?" for indicating CGI get content
has caused the Debian Bug report #600625,
regarding Boa should support "; " as an alternative to "?" for indicating CGI get content
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
600625: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600625
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Hi Greg,

Greg Alexander wrote:
> 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.

Nope, it is neither standard nor popular to replace "?" by ";" for
query strings.

What is standard and popular is to replace a query string's "&" by
";". See https://en.wikipedia.org/wiki/Query_string#Web_forms for
details.

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

I'll close this bug report herewith then. Thanks for you effort and
the patch nevertheless.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5

--- End Message ---

Reply to: