summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-08 19:41:17 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-08 19:41:17 +0000
commit08aa19a7b22338e6514438a1cc30192478cc758b (patch)
treef5366d75e91dfb066e56253fb65462b9abe770ee
parent2878f7eebdb1cf4f7f6e597760581267cff35637 (diff)
downloadampache-08aa19a7b22338e6514438a1cc30192478cc758b.tar.gz
ampache-08aa19a7b22338e6514438a1cc30192478cc758b.tar.bz2
ampache-08aa19a7b22338e6514438a1cc30192478cc758b.zip
re-imposed my evil charset validation
-rwxr-xr-xdocs/CHANGELOG2
-rw-r--r--lib/class/catalog.class.php1
-rw-r--r--lib/stream.lib.php2
-rw-r--r--lib/themes.php2
4 files changed, 3 insertions, 4 deletions
diff --git a/docs/CHANGELOG b/docs/CHANGELOG
index 789fd718..884dbcdc 100755
--- a/docs/CHANGELOG
+++ b/docs/CHANGELOG
@@ -9,8 +9,6 @@
- Add Debug page with current configuration and php state information
as well as links to generate new config file and reset database
charset
- - Relaxed Charset restrictions on catalog add filename with invalid
- characters is now a warning, not a fatal error
- Fixed lack of loading indication during catalog processes
- Fixed flash player not working if playlist_method included clear
- Fixed album art thumbs never saving due to incorrect table reference
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php
index bde17ed9..63cbaada 100644
--- a/lib/class/catalog.class.php
+++ b/lib/class/catalog.class.php
@@ -504,6 +504,7 @@ class Catalog {
if (strcmp($full_file,iconv(Config::get('site_charset'),Config::get('site_charset') . '//IGNORE',$full_file)) != '0') {
debug_event('read',$full_file . ' has non-' . Config::get('site_charset') . ' characters and can not be indexed','1');
Error::add('catalog_add',$full_file . ' ' . _('does not match site charset'));
+ continue;
}
} // end if iconv
diff --git a/lib/stream.lib.php b/lib/stream.lib.php
index 588f9251..de3adde1 100644
--- a/lib/stream.lib.php
+++ b/lib/stream.lib.php
@@ -1,7 +1,7 @@
<?php
/*
- Copyright 2001 - 2007 Ampache.org
+ Copyright Ampache.org
All Rights Reserved
This program is free software; you can redistribute it and/or
diff --git a/lib/themes.php b/lib/themes.php
index 164cb89a..d8af2512 100644
--- a/lib/themes.php
+++ b/lib/themes.php
@@ -1,7 +1,7 @@
<?php
/*
- Copyright (c) 2001 - 2006 Ampache.org
+ Copyright (c) Ampache.org
All Rights Reserved
This program is free software; you can redistribute it and/or