Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@schmitch
Copy link
Contributor

Backport of #6801

*/
def reportError(path: String, message: String, e: Option[Throwable] = None): PlayException = {
Configuration.configError(if (underlying.hasPath(path)) underlying.getValue(path).origin else underlying.root.origin, message, e)
Configuration.configError(message, Some(if (underlying.hasPath(path)) underlying.getValue(path).origin else underlying.root.origin), e)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Some should be Option here

* parses the path and the query string from our uri (#6801)

* more test to ensure that paths are not decoded

* changed tests to integration tests to support both backends
@gmethvin gmethvin merged commit b7a892f into playframework:2.5.x Jan 19, 2017
@schmitch schmitch deleted the backport-6801 branch January 27, 2017 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants