CppCMS 0.99.7 Rleased
Security Bugs:
- Fixed incorrect key parsing caused reduced entropy of AES and HMAC keys
- Fixed incorrect HMAC key definition when using separate keys for CBC and MAC
All users are encouraged to upgrade to latest version, if not possible do following:
Use
session.client.key
orsession.client.key_file
over separatesession.client.cbc
andsession.client.hmac
orsession.client.cbc_key
andsession.client.hmac_file
Note: if you use
session.client.hmac
orsession.client.hmac_file
only - MAC authentication without encryption then the problem does not affects you.Increase secret key size by at least 1.5 - this is relevant for both encryption and hmac authentication.
New Features:
URL Mapping - the opposite of URL Dispatching is created, now every URL can be easily abstracted from the physical URL,
It allows creating hierarchies of applications and referring each other using named URL.
Caching system:
- Added support of dependent triggers recording using cppcms::triggers_recorder class
- Added cache support at templates level
- Added "tee" filter for better caching support of HTML fragments
Template System
- Provided basic unit-testing
- Provided access too application that renders the view, giving basics for access to many features like sessions, cache and so on.
- Added
<% url ... %>
,<% cache ...%>
,<% trigger ... %>
tags - Improved error reporting
- Added
<%= variable | filters%>
style of rendering to allow override reserved words and variables
Updated Message Board example to use url mapping
Boost.Locale features:
- Default locale is UTF-8 on windows
- Support of Gregorian calendar for non-ICU backends
- Support of checking if the time is in daylight savings time to the calendar
- Performance optimization in formatting and collation
Redesigned booster::socket class, split into set of smaller classes according to their roles
Optimization for embedded builds adds support of removing of modules that may be not useful for embedded applications:
- Cache storage, prefork storage, distributed cache storage
- GZip compression
Support of graceful shutdown of fastcgi process by Apache on Windows using libfastcgi waiting style
Improved boost::thread api to support detach member function
Booster: support of timegm, making booster::ptime symmetric.
Bugs:
- Fixed bug #3177531 - invalid port/ip returned in CGI headers when using "list" of apis
- Cleanup of set() property, make sure it is set to false only in cases where it is really needed, and turn it on by default on most widgets Fixing F.R. #3177317
- Changed warning level to -Wall -Wextra, warnings cleanup
- Boost.Locale - workaround of ICU time zone detection bug
- Fixed incorrect rendering of input form when pointer involved
- Fixed issue with urandom device when running with limited user under Windows
- Fixes of MSVC-2005 issues
Comments
Hello mate!, First thanks for the effort on this new release ! Right now I have this problem on the tests :
The following tests FAILED: 13 - status_test (Failed) 14 - async_status_test (Failed) 15 - form_test (Failed) 16 - cookie_test (Failed) 17 - internal_forwarder_test (Failed) 18 - forwarder_test (Failed) 19 - jsonrpc_test (Failed) 20 - disco_test_http (Failed) 21 - disco_test_fastcgi_tcp (Failed) 22 - disco_test_scgi_tcp (Failed) 25 - proto_test_async_http (Failed) 26 - proto_test_async_scgi (Failed) 27 - proto_test_async_fastcgi (Failed) 30 - proto_test_sync_http (Failed) 31 - proto_test_sync_scgi (Failed) 32 - proto_test_sync_fastcgi (Failed) 50 - test_aio_socket (Failed) 51 - test_aio_endpoint (Failed) 53 - test_aio_prefork (Failed) Errors while running CTest
Any help ??
Thanks !
Daniel
Hi Daniel,
Read this
Hi.
Thank you for your effort and time to make this application. I wish you all the best!
hihi, a cppcms::form can be added to itself, e.g.: cppcms::form main; main + main; This caused an infinite loop on my build, I wonder whether its a bug which should be fixed or just a feature:)
You should not do such things.
Same as you create a circle in linked list and then try to find its end,
Hi Can you make an example using json_rpc more detailed please because I don't know how to use the example that you provided with source of last version or can you help me please.
Please, ask detailed question about what exactly you do not understand over the CppCMS users mailing list:
https://lists.sourceforge.net/lists/listinfo/cppcms-users
Add Comment:
You must enable JavaScript in order to post comments.