Skip to content

Instantly share code, notes, and snippets.

@cmuller
Last active July 24, 2020 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmuller/8913577 to your computer and use it in GitHub Desktop.
Save cmuller/8913577 to your computer and use it in GitHub Desktop.
How to deal with Testlink Cookies Exceeding Limits

How to deal with Testlink Cookies Exceeding Limits

Symptom

When you cannot login any more in Testlink because of the following error:

Bad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.
Cookie

it means that some of the cookies used by Testlink have grown too big for a normal HTTP header.

Workaround (versions < 1.9.20)

If you are using Apache, it is possible to configure the server to accept bigger header filed sizes by using the following directive in apache.cong (or in your vhost definition):

LimitRequestFieldsize 1048576

(default value is 8K)

Real fix (versions >= 1.9.20)

Testlink project has an open issue for this in their mantis bug tracker: http://mantis.testlink.org/view.php?id=3714

And it has been fixed for versions >= 1.9.20 by this commit: https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/12d29d12d3ea82ac2f9746f4d96b36af817d32a8 (I haven't tested it yet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment