<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,3 +3,4 @@
 nbproject/**
 pkg/**
 doc/**
+email.txt</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,6 @@
+== 0.5.9 2008-06-19
+* Fixed: Added url.strip! to account for spaces.  URI::split(url) was bombing if url contained spaces.
+
 == 0.5.8 2008-06-17
 * Fixed: External links are no longer restricted by link_to security.
 * Modified: Name of migration that adds admin user.</diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -160,8 +160,12 @@ module Lockdown
         end
 
         def authorized?(url)
+          return false unless url
+
           return true if current_user_is_admin?
 
+          url.strip!
+
           url_parts = URI::split(url)
         
           path = url_parts[5]</diff>
      <filename>lib/lockdown/controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@ module Lockdown #:nodoc:
   module VERSION #:nodoc:
     MAJOR = 0
     MINOR = 5
-    TINY  = 8
+    TINY  = 9
 
     STRING = [MAJOR, MINOR, TINY].join('.')
   end</diff>
      <filename>lib/lockdown/version.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8f18eed40200ab17d1f963740fe7da92838399de</id>
    </parent>
  </parents>
  <author>
    <name>Andrew Stone</name>
    <email>andy@stonean.com</email>
  </author>
  <url>http://github.com/stonean/lockdown/commit/c73c785097e0c3865a5a96c3d7b9dd3b2c7581da</url>
  <id>c73c785097e0c3865a5a96c3d7b9dd3b2c7581da</id>
  <committed-date>2008-06-19T09:03:13-07:00</committed-date>
  <authored-date>2008-06-19T09:03:13-07:00</authored-date>
  <message>Added url.strip! to account for spaces.  URI::split(url) was bombing if url contained spaces.</message>
  <tree>76c2fe82a46ab7dd4338a32e0e617711e601623e</tree>
  <committer>
    <name>Andrew Stone</name>
    <email>andy@stonean.com</email>
  </committer>
</commit>
