public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
From: "Stuart Stevens" <stuart_stevens@sierralogic.com>
To: "'Dieperink Alwin'" <alwin.dieperink@elca.ch>
Cc: help-gnats@gnu.org
Subject: RE: [GNATSWeb] URL length limitation in IE
Date: Mon, 31 Jan 2005 21:31:00 -0000	[thread overview]
Message-ID: <E1CvjL2-000444-Tt@lists.gnu.org> (raw)
In-Reply-To: <A13B47F8EC3FD111A91500C04FD2A28209FB820B@exchange.elca.ch>

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: help-gnats-bounces+stuart_stevens=sierralogic.com@gnu.org
[mailto:help-gnats-bounces+stuart_stevens=sierralogic.com@gnu.org] On Behalf
Of Dieperink Alwin
Sent: Thursday, January 27, 2005 11:12 AM
To: 'Tim Buck'
Cc: help-gnats@gnu.org
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: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



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

  parent reply	other threads:[~2005-01-31 21:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-27 19:36 Dieperink Alwin
2005-01-27 20:27 ` Tim Buck
2005-01-31 21:24 ` Stuart Stevens
2005-01-31 21:31 ` Stuart Stevens [this message]
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=E1CvjL2-000444-Tt@lists.gnu.org \
    --to=stuart_stevens@sierralogic.com \
    --cc=alwin.dieperink@elca.ch \
    --cc=help-gnats@gnu.org \
    /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).