Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but 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 Mediratta bharat Oops, fix indentation in 99af395 91e87cb
Bharat Mediratta 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
2  modules/gallery/libraries/SafeString.php
View
@@ -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');
}
/**
2  modules/gallery/views/error_admin.html.php
View
@@ -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.