Will Sargent

Results 188 comments of Will Sargent

Is there any way to simply turn off looking for src and javadoc classifiers? I'm on a coffee shop wireless network and this is taking a while. [error] Server access...

No, I think it totally makes sense to show the path and where it's going. I'm not sure why a `render` returns `Unit` instead of a `RenderResult`, to be honest....

Hi all -- placebocurejava has been banned from playframework, as he was posting on the google group with stolen credentials. His comments have been removed. Please see https://groups.google.com/forum/#!topic/play-framework/5FCht0abCI4 for more...

Also see https://github.com/playframework/playframework/pull/7255

@slandelle https://github.com/playframework/play-ws/blob/master/play-ahc-ws-standalone/src/main/scala/play/api/libs/ws/ahc/cache/EffectiveURIKey.scala You will also be interested in https://github.com/playframework/cachecontrol/blob/master/src/main/scala/com/typesafe/play/cachecontrol/CacheControl.scala

> You need to take the full request entity into account: method + URI + headers + request body. the effective request uri is as defined in https://tools.ietf.org/html/rfc7230#section-5.5, from https://tools.ietf.org/html/rfc7234

Yes, a response has to be selected that matches the request header -- cached request and stored response is a huge part of the spec. That's covered in the [ResponseSelectionCalculator](https://github.com/playframework/cachecontrol/blob/master/src/main/scala/com/typesafe/play/cachecontrol/ResponseSelectionCalculator.scala)....

The application secret is there for the cookie signer. You can swap out the cookie signer with your own implementation. See https://github.com/playframework/playframework/blob/2.8.x/core/play/src/main/scala/play/api/mvc/Cookie.scala#L826 Also check out https://github.com/playframework/play-samples/tree/2.8.x/play-scala-secure-session-example and https://blog.nvisium.com/play-2-6-security-analysis for some...

There's a combination of `normalize`, `resolve` and `startsWith` in the Files NIO package which could be useful for this: https://stackoverflow.com/questions/33083397/filtering-upwards-path-traversal-in-java-or-scala

A random UUID has a couple of problems. * It can't be sorted, so ordering request ids via request id doesn't work. * The OOTB java implementation uses synchronized public...