Fix for text/plain login pages

When a user is not authenticated and uses a link to a non-html file (e.g.
attachment) the login screen is returned. The content-type of the http
resuest is not always set to text/html. If you add

% SetContentType(‘text/html’);

to the top of Elements/Login this problem is fixed.

– arthur de jong - arthur@west.nl - west consulting b.v. –

This change was already in recent pre-releases of 2.0.12. were they not working for you?On Wed, Mar 13, 2002 at 09:37:46AM +0100, Arthur de Jong wrote:

When a user is not authenticated and uses a link to a non-html file (e.g.
attachment) the login screen is returned. The content-type of the http
resuest is not always set to text/html. If you add

% SetContentType(‘text/html’);

to the top of Elements/Login this problem is fixed.

– arthur de jong - arthur@west.nl - west consulting b.v. –


rt-devel mailing list
rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

nodnodOn Wed, Mar 13, 2002 at 05:31:37PM +0100, Arthur de Jong wrote:

On Wed, 13 Mar 2002, Jesse Vincent wrote:

This change was already in recent pre-releases of 2.0.12. were they
not working for you?

I’m running rt-2.0.11 and was hacking some other part of our support site
into rt (using rt authentication for other parts) when I noticed some
problem with content-types. I remembered some trouble with attachments in
RT and thought of a way to fix them. I didn’t know this was fixed already.

– arthur de jong - arthur@west.nl - west consulting b.v. –

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

This change was already in recent pre-releases of 2.0.12. were they
not working for you?

I’m running rt-2.0.11 and was hacking some other part of our support site
into rt (using rt authentication for other parts) when I noticed some
problem with content-types. I remembered some trouble with attachments in
RT and thought of a way to fix them. I didn’t know this was fixed already.

– arthur de jong - arthur@west.nl - west consulting b.v. –