RE: [GNATSWeb] URL length limitation in IE

"Stuart Stevens" <[email protected]>
Newsgroups gmane.comp.bug-tracking.gnats.general
Message-ID <[email protected]>
Alwin

I have noticed that gnatsweb.pl is more restrictive than GNATS in regards to
field names.  The 4.0 gnatsweb.pl uses "\w" which is alphanumeric plus the
underline.  This created problems with saving queries when fields have a
dash in the name.  Below I see that you have added the dash.  GNATS allows
just about any character except  space, equals, semicolon, colon and greater
than ( " =;:>" ).  Actually I think that GNATS allows even some of these
characters.

Should GNATS be restricted to "(\w|-)" or some restricted set or should
gnatsweb be enhanced to support additional characters ([^ =;:>])?

Stuart


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf
Of Dieperink Alwin
Sent: Thursday, January 27, 2005 11:12 AM
To: 'Tim Buck'
Cc: [email protected]
Subject: RE: [GNATSWeb] URL length limitation in IE

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:[email protected]]
Sent: mercredi, 26. janvier 2005 22:44
To: [email protected]
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 [email protected]
No one ever went broke underestimating the intelligence of the
American People -- P. T. Barnum




_______________________________________________
Help-gnats mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnats


_______________________________________________
Help-gnats mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnats
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.