nuxeo/nuxeo-automation-php-client — pull request #1 by cmoad (2012-02-02 19:22:25+00:00)
Title: Improvements to the php automation client

We have been using the PHP automation client for several reasons and have added two improvements which we think everyone will benefit from.

1. Namespaced all classes with "Nuxeo". We were getting naming conflicts with the "Session" class specifically, but many of the classes ("Document", "Utilities") were likely to cause conflicts.

2. Many calls to Blob.Attach were failing because of characters in the filename. Whitespace was being removed but characters like (, ), %, and diacritics were causing the upload to fail. Simply adding surrounding quotes to the filename of the "Content-Disposition" header resolved these issues and whitespace can be maintained now.