<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -170,7 +170,12 @@ class action_plugin_openid extends DokuWiki_Action_Plugin {
 				}
 
 				// redirect to OpenID provider for authentication
-				$url = $auth-&gt;redirectURL(DOKU_URL, $this-&gt;_self('openid'));
+
+				// this fix an issue with mod_rewrite with JainRain library
+				// when a parameter seems to be non existing in the query 
+				$return_to = $this-&gt;_self('openid') . '&amp;id=' . $_GET['id'];
+
+				$url = $auth-&gt;redirectURL(DOKU_URL, $return_to);
 				$this-&gt;_redirect($url);
 
 			} else if (isset($_POST['mode']) &amp;&amp; $_POST['mode'] == 'extra') {</diff>
      <filename>action.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bf6ac4814b82d31e2f36fbb24d5002821b323de2</id>
    </parent>
  </parents>
  <author>
    <name>Fran&#231;ois Hodierne</name>
    <email>francois@hodierne.net</email>
  </author>
  <url>http://github.com/znarf/dokuwiki-openid/commit/7174820fa3c91f72f6ad446824e28c2ceef55d87</url>
  <id>7174820fa3c91f72f6ad446824e28c2ceef55d87</id>
  <committed-date>2009-03-23T05:12:23-07:00</committed-date>
  <authored-date>2009-03-23T05:12:23-07:00</authored-date>
  <message>fix an issue with library _verifyReturnToArgs and URL parameters passed through mod_rewrite</message>
  <tree>fe7b87bdf47b918d849cd6d022fa9486002d7bc4</tree>
  <committer>
    <name>Fran&#231;ois Hodierne</name>
    <email>francois@hodierne.net</email>
  </committer>
</commit>
