diff options
author | McCabe Maxsted | 2009-10-09 08:58:08 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-10-09 08:58:08 -0700 |
commit | 93814396ad1ed6f322f21a68f5d015386ef10f85 (patch) | |
tree | 2d998fc531339eaf07dbabb0351bd5033cfee351 | |
parent | linden/indra/newview/skins/default/xui/en-us/floater_directory.xml (diff) | |
parent | Merge remote branch 'mccabe/next' into next (diff) | |
download | meta-impy-93814396ad1ed6f322f21a68f5d015386ef10f85.zip meta-impy-93814396ad1ed6f322f21a68f5d015386ef10f85.tar.gz meta-impy-93814396ad1ed6f322f21a68f5d015386ef10f85.tar.bz2 meta-impy-93814396ad1ed6f322f21a68f5d015386ef10f85.tar.xz |
Merge commit 'jacek/next' into next
Diffstat (limited to '')
-rw-r--r-- | ChangeLog.txt | 8 | ||||
-rw-r--r-- | linden/indra/newview/hippoGridManager.cpp | 17 |
2 files changed, 17 insertions, 8 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 5392671..b3e4679 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -138,6 +138,14 @@ modified: linden/indra/newview/skins/default/xui/en-us/notify.xml | |||
138 | modified: linden/indra/newview/skins/default/xui/en-us/panel_preferences_general.xml | 138 | modified: linden/indra/newview/skins/default/xui/en-us/panel_preferences_general.xml |
139 | 139 | ||
140 | 140 | ||
141 | 2009-10-03 Jacek Antonelli <jacek.antonelli@gmail.com> | ||
142 | |||
143 | * Grid manager no longer appends "/" to URIs. | ||
144 | This was causing trouble with URIs that shouldn't end in "/". | ||
145 | |||
146 | modified: linden/indra/newview/hippoGridManager.cpp | ||
147 | |||
148 | |||
141 | 2009-10-03 McCabe Maxsted <hakushakukun@gmail.com> | 149 | 2009-10-03 McCabe Maxsted <hakushakukun@gmail.com> |
142 | 150 | ||
143 | * Fixed layout of debug permissions in tools window. | 151 | * Fixed layout of debug permissions in tools window. |
diff --git a/linden/indra/newview/hippoGridManager.cpp b/linden/indra/newview/hippoGridManager.cpp index 7a2a3e9..71e3a95 100644 --- a/linden/indra/newview/hippoGridManager.cpp +++ b/linden/indra/newview/hippoGridManager.cpp | |||
@@ -469,14 +469,15 @@ std::string HippoGridInfo::sanitizeGridNick(std::string &gridnick) | |||
469 | // static | 469 | // static |
470 | std::string HippoGridInfo::sanitizeUri(std::string &uri) | 470 | std::string HippoGridInfo::sanitizeUri(std::string &uri) |
471 | { | 471 | { |
472 | if (uri.empty()) { | 472 | // if (uri.empty()) { |
473 | return ""; | 473 | // return ""; |
474 | } | 474 | // } |
475 | 475 | ||
476 | // If last character in uri is not "/" | 476 | // // If last character in uri is not "/" |
477 | if (uri.compare(uri.length()-1, 1, "/") != 0) { | 477 | // // NOTE: This wrongly assumes that all URIs should end with "/"! |
478 | return uri + '/'; | 478 | // if (uri.compare(uri.length()-1, 1, "/") != 0) { |
479 | } | 479 | // return uri + '/'; |
480 | // } | ||
480 | 481 | ||
481 | return uri; | 482 | return uri; |
482 | } | 483 | } |