[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-623-g587a27f

Jesse Vincent jesse at bestpractical.com
Fri Aug 27 15:36:56 EDT 2010


The branch, 3.9-trunk has been updated
       via  587a27f42e80808907f1e02e808b5e91d1d7a8d8 (commit)
      from  55d0d0a8f61bedd2bbd5301d79d8995b11d93069 (commit)

Summary of changes:
 lib/RT/URI.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 587a27f42e80808907f1e02e808b5e91d1d7a8d8
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Fri Aug 27 14:49:21 2010 -0400

    If there's bad data in RT's links table, use a generic URI parser rather
    than explode

diff --git a/lib/RT/URI.pm b/lib/RT/URI.pm
index 59e8df2..eaf4698 100755
--- a/lib/RT/URI.pm
+++ b/lib/RT/URI.pm
@@ -136,6 +136,7 @@ sub FromURI {
 	$scheme = $1;
     }
     else {
+        $self->{resolver} = RT::URI::base->new( $self->CurrentUser ); # clear resolver
         $RT::Logger->warning("Could not determine a URI scheme for $uri");
         return (undef);
     }

-----------------------------------------------------------------------


More information about the Rt-commit mailing list