Permalink
Browse files

Updated changelog to reflect changes made for SOCIAL-258

  • Loading branch information...
1 parent 8a3119b commit f1d9b66e90c26037cbe03cfcbd189578d9390539 Craig Walls committed Sep 27, 2011
@@ -1,3 +1,13 @@
+Spring Social 1.0.1 Release
+===========================
+Compatibility Notes
+ * Changed signature of ConnectController.connectionStatusRedirect() to take a NativeWebRequest in
+ addition to the provider ID (SOCIAL-258).
+
+Bug Fixes
+ * Fixed ConnectController to use the servlet path when doing connection status redirects so that
+ the application's DispatcherServlet does not have to be mapped to "/" (SOCIAL-258).
+
Spring Social 1.0.0 Release (September 8, 2011)
===============================================
Bug Fixes
@@ -236,9 +236,10 @@ protected String connectedView(String providerId) {
/**
* Returns a RedirectView with the URL to redirect to after a connection is created or deleted.
- * Defaults to "/connect/{providerId}" relative to the servlet context path.
+ * Defaults to "/connect/{providerId}" relative to DispatcherServlet's path.
* May be overridden to handle custom redirection needs.
* @param providerId the ID of the provider for which a connection was created or deleted.
+ * @param request the NativeWebRequest used to access the servlet path when constructing the redirect path.
*/
protected RedirectView connectionStatusRedirect(String providerId, NativeWebRequest request) {
String providerConnectPath = "/connect/" + providerId;

0 comments on commit f1d9b66

Please sign in to comment.