Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: gallery/gallery3
base: 6f6797a
...
head fork: gallery/gallery3
compare: 1c5c2e7
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Commits on May 16, 2012
@bharat bharat Oops, fix indentation in 99af395 91e87cb
@bharat bharat Convert any UTF-7 to UTF-8 so that fragment pages (like AJAX replies)
won't be mistakenly interpreted as UTF-7.  Fixes #1869.
1c5c2e7
View
2  modules/gallery/libraries/SafeString.php
@@ -31,7 +31,7 @@ function __construct($string) {
$this->_is_safe_html = $string->_is_safe_html;
$string = $string->unescaped();
}
- $this->_raw_string = (string) $string;
+ $this->_raw_string = mb_convert_encoding((string) $string, 'UTF-8', 'UTF-7');
}
/**
View
2  modules/gallery/views/error_admin.html.php
@@ -3,7 +3,7 @@
<? if (!function_exists("t")) { function t($msg) { return $msg; } } ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
<style type="text/css">
body {
background: #fff;

No commit comments for this range

Something went wrong with that request. Please try again.