OpendataCH / Transport

Swiss public transport API
http://transport.opendata.ch/
MIT License
244 stars 50 forks source link

``trustProxyData`` method removed in Symfony/HttpFoundation version 2.3 #95

Closed dragoon closed 11 years ago

dragoon commented 11 years ago

File web/api.php contans call to a trustProxyData method, which was removed in Symfony/HttpFoundation since version 2.3, and the composer lock file contains 2.3.x-dev version of HttpFoundation.

Documentation says that this should be updated with setTrustedProxies, but then you need to specify an address of a proxy, so I don't know what to do.

fabian commented 11 years ago

Thanks for the notice! Using as recommended the client IP as default now.