classes/pnt from the phppeanuts framework
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Release notes

Version 2.3.0.alpha

This library only contains the pnt classes. To use it install phppeanuts-skeleton and follow the instructions in its

What's new

Since 2.2.0

  • Bugs fixed:
    • validationWarning for integer 0 too short
    • PntStringConverter::sanitizeHtml returned an empty result
    • PntSqlFilter::addParamsTo no longer adds a parameter if no comparator
    • Special signs in image urls caused malformed xml http response
  • Other improvements:
    • PntHttpRequest now allows windows file paths
    • Protects file system against potential buffer overflows
    • PntSite adapted to work from the command line
    • tested with PHP 5.5.9, 5.6.11, 7.0.1
    • several small changes, see doc/changes.txt.

    Remarks for upgrading existing applications

    You may change you application to use composer to install and update this library. See for an example.
    Or you may simply replace the contents of your classes/pnt folder with the contents of src/pnt from this library

    Known bugs and limitations

    1. UTF-8 not supported
    2. Applications are only protected against cross frame scripting in browsers that support the X-Frame-Options header.
    3. The Synchronizer Token Pattern by referrerer tokens is not as strong as by request tokens. (currently most frameworks only implement this pattern for actions (called tickets with peanuts)).
    4. Though the framework has DAO classes that are successfully used as the database abstraction layer with MySQL and SqLite, the use with other databases may require some additional refactoring. Please inform us about eventual problems and solutions with the use of other databases. (Known: Oracle versions below 9 do not support standard explicit JOIN syntax, but producing JOIN instuctions is not delegated to DAO objects and can not be easily refactored to do so.)
    5. The AGPL license requires you to make the source of applications using this version of phpPeanuts available to any users outside your own organization, and allow them forward it to the rest of the world.