public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
From: Dieperink Alwin <alwin.dieperink@elca.ch>
To: 'Tim Buck' <tbuck@rrinc.com>
Cc: help-gnats@gnu.org
Subject: RE: [GNATSWeb] URL length limitation in IE
Date: Thu, 27 Jan 2005 19:36:00 -0000	[thread overview]
Message-ID: <A13B47F8EC3FD111A91500C04FD2A28209FB820B@exchange.elca.ch> (raw)

Hello Tim,

It can be solved by removing empty parameters from the query url. This was
done partially and inconsistently. Just follow these steps to change your
gnatsweb.pl.

1) Add this function:
sub strip_empty_params
  {
  my ($url) = @_;
  $url =~ s/(\w|-)+=;//g;
  return $url;
  }

2) Change every occurence of "$q->self_url()" with
"strip_empty_params($q->self_url())"
exception in: my ($query_string) = strip_empty_params($q->self_url() =~
m/^[^?]*\?(.*)$/);
remove eventual lines like "$query_string =~ s/(\w|-)+=;//g;" following the
changed line

3) idem with this line in sub store_query:
my $query_string = $q->query_string();


Regards
-- Alwin




-----Original Message-----
From: Tim Buck [mailto:tbuck@rrinc.com]
Sent: mercredi, 26. janvier 2005 22:44
To: help-gnats@gnu.org
Subject: [GNATSWeb] URL length limitation in IE


Has anyone found a way to get around Internet Explorer's 2083
character URL length limitation in GNATSWeb? (besides not using
IE -- some of my users would revolt if I took that option away).

2083 seems like a lot, but when doing Advanced Queries the column
names and such add up very quickly!

Tim Buck * Information Technology Manager * Recognition Research, Inc.
PHONE +1 540 961-6500 * FAX +1 540 961-3568 * EMAIL tbuck@rrinc.com
No one ever went broke underestimating the intelligence of the
American People -- P. T. Barnum




_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnats


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnats

             reply	other threads:[~2005-01-27 19:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-27 19:36 Dieperink Alwin [this message]
2005-01-27 20:27 ` Tim Buck
2005-01-31 21:24 ` Stuart Stevens
2005-01-31 21:31 ` Stuart Stevens
2005-01-31 23:52   ` Chad Walstrom
  -- strict thread matches above, loose matches on Subject: below --
2005-01-26 21:45 Tim Buck
2005-01-27 17:23 ` Chad Walstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A13B47F8EC3FD111A91500C04FD2A28209FB820B@exchange.elca.ch \
    --to=alwin.dieperink@elca.ch \
    --cc=help-gnats@gnu.org \
    --cc=tbuck@rrinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).