Skip to content

Commit

Permalink
Sanitize media file names
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Aug 12, 2024
1 parent f7afcad commit af750b4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ class OpenRosaResponseParserImpl : OpenRosaResponseParser {
if (filename != null && filename.isEmpty()) {
filename = null
}
if (filename != null) {
filename = filename.substringAfterLast("/", filename)
}
}
"hash" -> {
hash = XFormParser.getXMLText(child, true)
Expand Down

0 comments on commit af750b4

Please sign in to comment.