Skip to content

Commit 3ce9ec8

Browse files
committed
Merge remote-tracking branch 'origin/1.3'
2 parents a798b28 + fa6b5a4 commit 3ce9ec8

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ addons:
1414
- enchant
1515

1616
php:
17-
- 5.4
1817
- 5.5
1918
- 5.6
2019
- 7.0
2120
- hhvm
2221

22+
env:
23+
- SYMFONY_VERSION='3.0.*'
24+
2325
branches:
2426
only:
2527
- master
@@ -28,9 +30,12 @@ branches:
2830
matrix:
2931
include:
3032
- php: 5.4
31-
env: COMPOSER_FLAGS="--prefer-lowest"
33+
env:
34+
- COMPOSER_FLAGS="--prefer-lowest"
35+
- SYMFONY_VERSION='2.3.*'
3236
- php: 5.6
3337
env:
38+
- SYMFONY_VERSION='2.4.*'
3439
- PHPUNIT_FLAGS="--coverage-clover=coverage.clover"
3540
- COVERAGE=true
3641
- php: 5.6

Resources/doc/features/user-context.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,15 @@ Finally, enable the subscriber with the default settings:
7878
user_context:
7979
enabled: true
8080
81+
.. note::
82+
83+
When using the FOSRestBundle ``format_listener`` configuration on all paths
84+
of your site, the hash lookup will fail with "406 Not Acceptable - No
85+
matching accepted Response format could be determined". To avoid this
86+
problem, you can add a rule to the format listener configuration:
87+
88+
``- { path: '^/_fos_user_context_hash', stop: true }``
89+
8190
Generating Hashes
8291
-----------------
8392

0 commit comments

Comments
 (0)