Skip to content

Commit

Permalink
Merge pull request #5 from artem-yakymchuk-paysera/fix-regex
Browse files Browse the repository at this point in the history
Fix regex
  • Loading branch information
PayseraGithub authored Mar 20, 2024
2 parents f95024c + f4e271f commit 3fc2f74
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 196 deletions.
201 changes: 7 additions & 194 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,196 +1,9 @@
SVN Revision: 11459


Archive
=======

1.4.1 - Monday 22 March 2010
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Fixed #16030: Archive calls posix_* functions even it is only an optional
depedency.



ConsoleTools
============

1.6.1 - Monday 22 March 2010
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Fixed issue #16055: Corrected regression in error message for option
dependencies.



Database
========

1.4.7 - Monday 22 March 2010
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Fixed issue #16208: Warning in ezcQuery alias function



DatabaseSchema
==============

1.4.4 - Monday 22 March 2010
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Fixed #16035: DatabaseSchema component automatically sorts table fields
alphabetically
- Fixed #16220: Autoincrement fields are not detected for Oracle for long
field / table names.
- Fixed #16222: Oracle sequences are expected to be dropped for tables, which
fails for shortened sequence names
- Fixed #15892: XML Storage for Schema casts Integer defaults to string and
detects field change wrong
- Fixed #15894: ezcDbSchemaIndex sorts fields by name, but field order is
important in indexes!
- Fixed #15895: Setting an Index Primary should enforce Unique
- Fixed: Handling of not null in SQLite



Document
========

1.3.1 - Monday 22 March 2010
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Implemented: Directive contents reparsing helper method.
- Implemented #15218: Add support for PDF compression.
- Implemented #15219: Add support for PDF encryption & permissions.
- Fixed #15973: Issues with re-parsing parts of directives.
- Fixed #15987: Font size estimation in Haru driver broken.
- Fixed: Multiple small RST parsing bugs.



ImageConversion
===============

1.3.8 - Monday 22 March 2010
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Fixed issue #15011: ImageMagick handler does now correctly use the binary
set through handler options.
- Fixed issue #15976: ImageMagick based scalePercent filter now allows values
> 100 for the width value, too.



Mail
====

1.7.1 - Monday 22 March 2010
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Fixed #16154: Bcc headers are not stripped when using SMTP.
- Fixed #16347: Inline images in the mail composer are not added other
attributes precede the src attribute.
- Fixed #16348: Adding inline images in the mail composer with whitespace in
the path fails.
- Fixed #16470: Mail test suite causes fatal errors because of transport
errors in destructor.



MvcTools
========

1.1.3 - Monday 22 March 2010
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Refactored HTTP request parsing for extensibility.



PersistentObject
================

1.7.1 - Monday 22 March 2010
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Fixed issue #15657: Column names are now converted to lower case to extract
from database results, since this is the setting defined by the Database
component.
- Fixed issue #16135: ezcPersistentCodeManager now supports PHP 5.3
namespaces.



PhpGenerator
============

1.0.6 - Monday 22 March 2010
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Fixed #16017: Small typo in ezcPhpGenerator::appendValueAssignment doc.



Search
======

1.0.9 - Monday 22 March 2010
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Fixed issue #16127: Searching with numeric values.
- Fixed issue #16195: Errors when searching with Solr.
- Fixed issue #16350: Wrong spelled HTTP method.



TemplateTranslationTiein
========================

1.1.1 - Monday 22 March 2010
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Fixed #16042: ezcTemplateTranslationExtractor::unifyFilepath() chops off
character



Tree
====

1.1.4 - Monday 22 March 2010
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Fixed #13332: Updating a data element only works if you've requested it
before.



Webdav
======

1.1.4 - Monday 22 March 2010
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Fixed issue #15922: The default lock timeout in ezcWebdavFileBackend is not
2 seconds. After this time, a hanging lock will automatically be released.
This timeout can now be configured through the new option
ezcWebdavFileBackendOptions->lockTimeout.
- Fixed issue #16034: The permissions on the lock file in ezcWebdavFileBackend
are now properly checked before a lock is acquired.
- Fixed issue #16194: Files displayed URL encoded in WebDAV clients.
- Fixed issue #16201: Introduced new Nautilus compatible transport class to
fix client specific issues.



Workflow
========

1.4.1 - Monday 22 March 2010
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Fixed the saving of data via execution data handlers.

# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 1.0.1 - 2024-03-20
### Fixed
- Unsupported regex
2 changes: 1 addition & 1 deletion Mail/src/parser/interfaces/part_parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ static public function createPartParserForHeaders( ezcMailHeadersHolder $headers
protected function parseHeader( $line, ezcMailHeadersHolder $headers )
{
$matches = array();
preg_match_all( "/^([\w-_]*):\s?(.*)/", $line, $matches, PREG_SET_ORDER );
preg_match_all( "/^([\w\-_]*):\s?(.*)/", $line, $matches, PREG_SET_ORDER );
if ( count( $matches ) > 0 )
{
if ( !in_array( strtolower( $matches[0][1] ), self::$uniqueHeaders ) )
Expand Down
2 changes: 1 addition & 1 deletion Mail/src/parser/parts/delivery_status_parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function parseBody( $line )
protected function parseHeader( $line, ezcMailHeadersHolder $headers )
{
$matches = array();
preg_match_all( "/^([\w-_]*):\s?(.*)/", $line, $matches, PREG_SET_ORDER );
preg_match_all( "/^([\w\-_]*):\s?(.*)/", $line, $matches, PREG_SET_ORDER );
if ( count( $matches ) > 0 )
{
$this->lastParsedHeader = $matches[0][1];
Expand Down

0 comments on commit 3fc2f74

Please sign in to comment.