[ 
http://jira.xwiki.org/jira/browse/XWIKI-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_22024
 ] 

Sergiu Dumitriu commented on XWIKI-479:
---------------------------------------

Don't sendRedirect with null. If the requested URL is not in the main wiki, 
then first send there. If the requeste & not found URL belongs to the main 
wiki, then somethins is terribly wrong. There can't NOT be a main wiki. Better 
output a static page with a 500 status, so that the user at least sees that 
something is wrong, instead of a blank page.

> Redirect loop if xwiki.virtual.redirect is not specified, and it is commented 
> out and has unhelpful value by default.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: XWIKI-479
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-479
>             Project: XWiki Platform
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.9.1252
>            Reporter: Trevor Cox
>         Assigned To: Thomas Mortagne
>            Priority: Minor
>             Fix For: Future
>
>
> If xwiki.virtual.redirect is not specified for a virtual wiki, attempting to 
> access a subdomain that does not correspond to a wiki causes the browser to 
> be redirected repeatedly to the same invalid url.
> xwiki.virtual.redirect is commented out and has an unhelpful value by default.
> (The default is ...127.0.0.1/..., but a valid external URL is needed.)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to