#499: AgaviWebResponse::setRedirect() strips non-standard port when redirecting
to a generated route
-----------------------------------+----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: david
Type: defect | Status: closed
Priority: normal | Milestone: 0.11
Component: response | Version: 0.11.0RC4
Severity: normal | Resolution: invalid
Keywords: |
-----------------------------------+----------------------------------------
Changes (by david):
* status: new => closed
* resolution: => invalid
Comment:
The HTTP specification states that a {{{Location:}}} header must contain
an absolute URI.
Agavi uses the URL authority, which always includes non-standard ports.
The problem is that Agavi cannot resolve the port properly due to server
configuration issues, rewrites, etc. Overriding the sources for host, port
etc in the request factory will help.
--
Ticket URL: <http://trac.agavi.org/ticket/499#comment:1>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets