%PDF- %PDF-
| Direktori : /usr/local/prospamfilter/library/SpamFilter/Filter/ |
| Current File : //usr/local/prospamfilter/library/SpamFilter/Filter/UrlSlashes.php |
<?php
/*
*************************************************************************
* *
* ProSpamFilter *
* Bridge between Webhosting panels & SpamExperts filtering *
* *
* Copyright (c) 2010-2011 SpamExperts B.V. All Rights Reserved, *
* *
*************************************************************************
* *
* Email: support@spamexperts.com *
* Website: htttp://www.spamexperts.com *
* *
*************************************************************************
* *
* This software is furnished under a license and may be used and copied *
* only in accordance with the terms of such license and with the *
* inclusion of the above copyright notice. No title to and ownership *
* of the software is hereby transferred. *
* *
* You may not reverse engineer, decompile or disassemble this software *
* product or software product license. *
* *
* SpamExperts may terminate this license if you don't comply with any *
* of the terms and conditions set forth in our end user *
* license agreement (EULA). In such event, licensee agrees to return *
* licensor or destroy all copies of software upon termination of the *
* license. *
* *
* Please see the EULA file for the full End User License Agreement. *
* *
*************************************************************************
* @category SpamExperts
* @package ProSpamFilter
* @author $Author$
* @copyright Copyright (c) 2011, SpamExperts B.V., All rights Reserved. (http://www.spamexperts.com)
* @license Closed Source
* @version 3.0
* @link https://my.spamexperts.com/kb/34/Addons
* @since 2.0
*/
// require_once 'Zend/Filter/Interface.php';
/**
* SpamFilter_Filter_UrlSlashes
* Filter the trailing slash from the input
*/
class SpamFilter_Filter_UrlSlashes implements Zend_Filter_Interface
{
/**
* filter
* Filter input
*
* @param $value Input
*
* @return string Filtered values
*
* @access public
*/
public function filter($value)
{
return rtrim($value,"/");
}
}