Skip to content

Commit

Permalink
Merge branch 'master' into feature/introduce-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mystralkk committed Nov 9, 2016
2 parents 87fccc8 + 1ede770 commit 64521f6
Show file tree
Hide file tree
Showing 39 changed files with 312 additions and 1,169 deletions.
19 changes: 0 additions & 19 deletions .gitignore
@@ -1,21 +1,3 @@
system/pear/*.php
system/pear/Archive
system/pear/Auth
system/pear/Console
system/pear/Date
system/pear/HTTP
system/pear/Mail
system/pear/Net
system/pear/OS
system/pear/PEAR
system/pear/PHP
system/pear/System.php
system/pear/Text
system/pear/XML
system/pear/scripts
system/pear/LICENSE


public_html/.htaccess
public_html/web.config
aspnet_client/
Expand All @@ -24,7 +6,6 @@ db-config.php
public_html/siteconfig.php
system/lib-custom.php

public_html/.htaccess
public_html/sitemap.xml
public_html/filemanager/scripts/filemanager.config.js

Expand Down
1 change: 1 addition & 0 deletions language/english.php
Expand Up @@ -2122,6 +2122,7 @@
'advanced_editor' => "Advanced Editor?",
'advanced_editor_name' => "Advanced Editor Name?",
'wikitext_editor' => "Wikitext Editor?",
'remove_4byte_chars' => 'Remove 4-byte utf-8 characters?',
'cron_schedule_interval' => "Cron Schedule Interval",
'sortmethod' => "Sort Topics",
'showstorycount' => "Show Story Count?",
Expand Down
1 change: 1 addition & 0 deletions language/english_utf-8.php
Expand Up @@ -2121,6 +2121,7 @@
'advanced_editor' => "Advanced Editor?",
'advanced_editor_name' => "Advanced Editor Name?",
'wikitext_editor' => "Wikitext Editor?",
'remove_4byte_chars' => 'Remove 4-byte utf-8 characters?',
'cron_schedule_interval' => "Cron Schedule Interval",
'sortmethod' => "Sort Topics",
'showstorycount' => "Show Story Count?",
Expand Down
1 change: 1 addition & 0 deletions language/japanese_utf-8.php
Expand Up @@ -2126,6 +2126,7 @@
'advanced_editor' => 'アドバンストエディターを使用する',
'advanced_editor_name' => 'アドバンストエディター名',
'wikitext_editor' => 'Wikiテキストエディターを使用する',
'remove_4byte_chars' => '4バイトのutf-8文字を除去する',
'cron_schedule_interval' => 'Cronのスケジュール間隔',
'sortmethod' => '話題の並べ替え',
'showstorycount' => '記事数を表示する',
Expand Down
70 changes: 0 additions & 70 deletions plugins/calendar/buildpackage.php

This file was deleted.

20 changes: 10 additions & 10 deletions plugins/calendar/functions.inc
Expand Up @@ -419,7 +419,7 @@ function plugin_savesubmission_calendar($A)
$retval = '';

$A['title'] = strip_tags(COM_checkWords($A['title']));
$A['title'] = GLText::removeUtf8Icons($A['title']);
$A['title'] = GLText::remove4byteUtf8Chars($A['title']);
$A['start_year'] = COM_applyFilter($A['start_year'], true);
$A['start_month'] = COM_applyFilter($A['start_month'], true);
$A['start_day'] = COM_applyFilter($A['start_day'], true);
Expand Down Expand Up @@ -506,15 +506,15 @@ function plugin_savesubmission_calendar($A)

// Remove any autotags the user doesn't have permission to use
$A['description'] = PLG_replaceTags($A['description'], '', true);
$A['description'] = DB_escapeString(htmlspecialchars(GLText::removeUtf8Icons(COM_checkWords($A['description']))));
$A['address1'] = DB_escapeString(GLText::removeUtf8Icons(strip_tags(COM_checkWords($A['address1']))));
$A['address2'] = DB_escapeString(GLText::removeUtf8Icons(strip_tags(COM_checkWords($A['address2']))));
$A['city'] = DB_escapeString(GLText::removeUtf8Icons(strip_tags(COM_checkWords($A['city']))));
$A['zipcode'] = DB_escapeString(GLText::removeUtf8Icons(strip_tags(COM_checkWords($A['zipcode']))));
$A['state'] = DB_escapeString(GLText::removeUtf8Icons(strip_tags(COM_checkWords($A['state']))));
$A['location'] = DB_escapeString(GLText::removeUtf8Icons(strip_tags(COM_checkWords($A['location']))));
$A['event_type'] = DB_escapeString(GLText::removeUtf8Icons(strip_tags(COM_checkWords($A['event_type']))));
$A['title'] = DB_escapeString(GLText::removeUtf8Icons($A['title']));
$A['description'] = DB_escapeString(htmlspecialchars(GLText::remove4byteUtf8Chars(COM_checkWords($A['description']))));
$A['address1'] = DB_escapeString(GLText::remove4byteUtf8Chars(strip_tags(COM_checkWords($A['address1']))));
$A['address2'] = DB_escapeString(GLText::remove4byteUtf8Chars(strip_tags(COM_checkWords($A['address2']))));
$A['city'] = DB_escapeString(GLText::remove4byteUtf8Chars(strip_tags(COM_checkWords($A['city']))));
$A['zipcode'] = DB_escapeString(GLText::remove4byteUtf8Chars(strip_tags(COM_checkWords($A['zipcode']))));
$A['state'] = DB_escapeString(GLText::remove4byteUtf8Chars(strip_tags(COM_checkWords($A['state']))));
$A['location'] = DB_escapeString(GLText::remove4byteUtf8Chars(strip_tags(COM_checkWords($A['location']))));
$A['event_type'] = DB_escapeString(GLText::remove4byteUtf8Chars(strip_tags(COM_checkWords($A['event_type']))));
$A['title'] = DB_escapeString(GLText::remove4byteUtf8Chars($A['title']));

$A['url'] = DB_escapeString(COM_sanitizeUrl($A['url']));

Expand Down
67 changes: 0 additions & 67 deletions plugins/links/buildpackage.php

This file was deleted.

67 changes: 0 additions & 67 deletions plugins/polls/buildpackage.php

This file was deleted.

67 changes: 0 additions & 67 deletions plugins/spamx/buildpackage.php

This file was deleted.

0 comments on commit 64521f6

Please sign in to comment.