Browse files

Revert a fix for #1418. One test breaks

  • Loading branch information...
1 parent f417bd2 commit aba5a91a402ffe1d931f212306759b17c376e856 Joni Freeman committed Mar 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/json/src/main/scala/net/liftweb/json/Extraction.scala
View
2 core/json/src/main/scala/net/liftweb/json/Extraction.scala
@@ -155,7 +155,7 @@ object Extraction {
def submap(prefix: String): Map[String, String] =
Map(
- map.filter(t => t._1 == prefix || t._1.startsWith(prefix + ".")).map(
+ map.filter(t => t._1.startsWith(prefix)).map(
t => (t._1.substring(prefix.length), t._2)
).toList.toArray: _*
)

0 comments on commit aba5a91

Please sign in to comment.