org.scalatra.UriDecoder.scala Maven / Gradle / Ivy
package org.scalatra
import java.nio.charset.StandardCharsets
import util.UrlCodingUtils
object UriDecoder {
def decode(uri: String): String = {
UrlCodingUtils.urlDecode(
toDecode = UrlCodingUtils.ensureUrlEncoding(uri),
charset = StandardCharsets.UTF_8,
plusIsSpace = false)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy