History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: UP-1778
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Nick Bolton
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
uPortal

Proxy Servlet: rewrites only happen when no redirect domain property is specified

Created: 01/Aug/07 04:07 PM   Updated: 05/Mar/08 07:59 AM
Component/s: Resource Proxy
Affects Version/s: 2.6.0 RC1, 2.6.0 RC2, 2.6.1 RC1
Fix Version/s: 2.6.0 GA

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Resource proxy rewrites will only occur if the org.jasig.portal.serialize.ProxyWriter.no_redirect_domain property has been set.

This occurs in the ProxyWriter in the considerProxyRewrite method. The follow condition

if (PROXY_REWRITE_NO_REDIRECT_DOMAIN.length() > 0
                    && !domain_only.endsWith(PROXY_REWRITE_NO_REDIRECT_DOMAIN)) {

should be changed to

if (PROXY_REWRITE_NO_REDIRECT_DOMAIN.length() == 0
                    || !domain_only.endsWith(PROXY_REWRITE_NO_REDIRECT_DOMAIN)) {

So it will process rewrites if there is no redirect domain filter specified OR there is one specified and the domain in question does not come from there.

 All   Comments   Work Log   Change History      Sort Order:
Eric Dalquist [03/Oct/07 11:02 AM]
Fixed by rollback of UP-1777