From 0676a96af598e97e3b6016cd3675e2f424dc8407 Mon Sep 17 00:00:00 2001 From: "hbono@chromium.org" <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Thu, 26 Feb 2009 10:02:52 +0000 Subject: Fixes Issue 7377: Regression: Omnibox trims URL ending with 0x85 To fix this issue, this change adds a new function TrimWhitespaceUTF8(), which trims space characters (including non-printable characters and broken UTF-8 characters) from either end of a UTF-8 string. Please feel free to give me your comments since I'm not sure this implimentation is correct. (Maybe this implementation trims too aggressively.) BUG=7377 Review URL: http://codereview.chromium.org/20219 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10456 0039d316-1c4b-4281-b951-d872f2087c98 --- build/googleurl.xcodeproj/project.pbxproj | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build') diff --git a/build/googleurl.xcodeproj/project.pbxproj b/build/googleurl.xcodeproj/project.pbxproj index 38f074f..1db641c 100644 --- a/build/googleurl.xcodeproj/project.pbxproj +++ b/build/googleurl.xcodeproj/project.pbxproj @@ -60,6 +60,7 @@ 7BA019240E5A2BD700044150 /* libgtest.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7BA019210E5A2BCB00044150 /* libgtest.a */; }; 7BA019640E5A2C2B00044150 /* libbase.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7BA019440E5A2BFC00044150 /* libbase.a */; }; 7BA019700E5A2C4700044150 /* libicuuc.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7BA0195F0E5A2C1200044150 /* libicuuc.a */; }; + 793B6B0D0F4D140000C68483 /* libicui18n.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7BA0195B0E5A2C1200044150 /* libicui18n.a */; }; 7BA019740E5A2C5C00044150 /* libicudata.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7BA019570E5A2C1200044150 /* libicudata.a */; }; /* End PBXBuildFile section */ @@ -264,6 +265,7 @@ 7BA018EF0E5A2B3300044150 /* libgoogleurl.a in Frameworks */, 7BA019240E5A2BD700044150 /* libgtest.a in Frameworks */, 7BA019740E5A2C5C00044150 /* libicudata.a in Frameworks */, + 793B6B0D0F4D140000C68483 /* libicui18n.a in Frameworks */, 7BA019700E5A2C4700044150 /* libicuuc.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; -- cgit v1.1