help-gnats
[Top][All Lists]
Advanced

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

RE: [GNATSWeb] URL length limitation in IE


From: Stuart Stevens
Subject: RE: [GNATSWeb] URL length limitation in IE
Date: Mon, 31 Jan 2005 13:29:40 -0800

Alwin

The gnatsweb interface remembers the "return_url" and it is passed back in
queries and cookies.  This normally takes over a third of the amount of
space for a cookie or a query.  This is then used to return the user to
their previous query.  After a edit, this is used to take the user back.
Often this is not where the user wants to go.  This may cause the execution
of a long query or the user just wants to see their edits.

I believe that the interface can be changed slightly to not remember the
return URL and not save it in cookies.  After an edit, the user can go to
the view interface for the GNAT that was just updated.  

Do users depend on the return_URL feature?

Thoughts?

Stuart

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf
Of Dieperink Alwin
Sent: Thursday, January 27, 2005 11:12 AM
To: 'Tim Buck'
Cc: address@hidden
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:address@hidden
Sent: mercredi, 26. janvier 2005 22:44
To: address@hidden
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 address@hidden
No one ever went broke underestimating the intelligence of the
American People -- P. T. Barnum




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


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]