A pretty nice way to expose your Symfony routing to client applications.
Published by tobias-93 almost 6 years ago
Published by lsmith77 about 6 years ago
Published by tobias-93 over 6 years ago
Published by tobias-93 almost 7 years ago
Published by tobias-93 almost 7 years ago
Published by tobias-93 almost 7 years ago
See CHANGELOG.md for significant changes
Published by tobias-93 about 7 years ago
Security- and bugfixes from master backported to 1.x
Published by willdurand about 7 years ago
Published by GuilhemN about 7 years ago
⚠️ Please use version 1.6.2
Published by willdurand over 8 years ago
Hi!
Due to numerous contributions that have been merged over the last 2 years in the master
branch, this very first, very unstable, release starts the release cycle of the upcoming 2.0 major version. Things changed a lot between the initial plan, and what has been actually done, but there are a few interesting changes though.
Note that branch 1.x
has been merge in master
, so everything that is part of 1.x
is also part of 2.x
.
locale
parameter automaticallyConfigCache::getPath()
instead of __toString()
methodRouteCollection
and RoutesResponse
Published by willdurand over 8 years ago
Aloha, and sorry for the too long delay... This release provides support for Symfony 3.0+ (older Symfony versions should still work though). Cheers!
routing.xml
ConfigCache::__toString()
is deprecated in favor of getPath()
as of Symfony 2.7Published by stof over 10 years ago
Published by willdurand almost 11 years ago
This bugfix release fixes a bug introduced in release 1.5.1
.
Published by willdurand almost 11 years ago
Published by willdurand almost 11 years ago
minimum-stability
from dev
to stable
Published by willdurand about 11 years ago
Use JsonCallbackValidator library.
Published by willdurand about 11 years ago
Prevent XSS attack through the JSONP callback. A CallbackValidator
now validates the callback value. If it is not valid, a HttpException
is thrown (status code = 400).
For more information, read: Do I need to sanitize the callback parameter from a JSONP call?
Published by willdurand about 11 years ago
# app/config/config.yml
fos_js_routing:
cache_control:
# All are optional, defaults shown
public: false # can be true (public) or false (private)
maxage: null # integer value, e.g. 300
smaxage: null # integer value, e.g. 300
expires: null # anything that can be fed to "new \DateTime($expires)", e.g. "5 minutes"
vary: [] # string or array, e.g. "Cookie" or [ Cookie, Accept ]
Thanks to @cmenning!