Created
June 15, 2018 13:24
-
-
Save joseoliv/981d08d1bb2c2723c5638a4f47b09f85 to your computer and use it in GitHub Desktop.
Prototype that can convert any tainted to untainted value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package untainted | |
object TaintedToUntainted | |
func toUntaintedSql: String@tainted(sql) s -> String@untainted(sql) = s; | |
func toUntaintedHtml: String@tainted(html) s -> String@untainted(html) = s; | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment