You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Paul Lindner (JIRA)" <ji...@apache.org> on 2009/01/15 19:16:59 UTC

[jira] Resolved: (SHINDIG-859) NullPointerException when locked domain verification fails

     [ https://issues.apache.org/jira/browse/SHINDIG-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Lindner resolved SHINDIG-859.
----------------------------------

       Resolution: Fixed
    Fix Version/s: trunk

lgtm

> NullPointerException when locked domain verification fails
> ----------------------------------------------------------
>
>                 Key: SHINDIG-859
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-859
>             Project: Shindig
>          Issue Type: Bug
>          Components: Gadget Rendering Server (Java)
>            Reporter: Adam Winer
>             Fix For: trunk
>
>         Attachments: shindig-859.patch
>
>
> The locked domain code attempts to force a redirect to the proper domain if the incoming request cannot be successfully verified.
> However, the Renderer.getRedirect() function simply sets a null URI, which leads to a NullPointerException when dereferenced by GadgetRenderingServlet.
> Redirecting at all won't really work - any values passed in the hash will be deleted.  Cleanly failing the request is more appropriate.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.