Project

General

Profile

« Previous | Next » 

Revision 61363

1. refactoring and changes of rest api

View differences:

FrontEndLinkURIAuthenticationSuccessHandler.java
84 84
        accessToken.setPath("/");
85 85

  
86 86

  
87
        Cookie openAIREUser = new Cookie("openAIREUser", new Gson().toJson(userInfo));
87
        Cookie openAIREUser = new Cookie("openAIREUser", URLEncoder.encode(new Gson().toJson(userInfo), "UTF-8"));
88 88
        openAIREUser.setMaxAge(accessToken.getMaxAge());
89 89
        openAIREUser.setPath("/");
90 90
        if (aai_mode.equalsIgnoreCase("production") || aai_mode.equalsIgnoreCase("beta"))

Also available in: Unified diff