Opened 3 years ago

Last modified 2 years ago

#17285 new bug

Network kit: HTTP header redirect for relative locations broken

Reported by: andreas_dr Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Network Kit Version: R1/Development
Keywords: Cc: nielx
Blocked By: Blocking:
Platform: All

Description

Hi,

there seems to be a bug with HTTP location header based redirection. It seems to work with absolute URLs but not with relative.

Try:

http://drewke.net/tdme2-documentation/alpha/private/

This tries to do a redirect using a relative URL using a "Location: ./xyz" header.

It works on Safari, FireFox and so on, but not in WebPositive.

My script doing the redirection has the following content currently:

<?php header('Location: ./1.9.104'); ?>

Change History (4)

comment:1 by waddlesplash, 3 years ago

Component: ApplicationsKits/Network Kit

comment:2 by waddlesplash, 3 years ago

Cc: nielx added

comment:3 by nephele, 3 years ago

Summary: WebPositiveNetwork kit: HTTP header redirect for relative locations broken

comment:4 by nephele, 2 years ago

Hey andreas_dr, Is this still an issue for you? I've tested this now and it seems to work in WebPositive (curl also still gives the same Location: ./ type header)

Note: See TracTickets for help on using tickets.