X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/23a4ee6d15dbd9b8e8c6588a829dd30a26a8de32..ffa73790b5c381df6e0385995b720dd24188969b:/doc/bugs/pagespec_can__39__t_match___123__curly__125___braces.mdwn diff --git a/doc/bugs/pagespec_can__39__t_match___123__curly__125___braces.mdwn b/doc/bugs/pagespec_can__39__t_match___123__curly__125___braces.mdwn index e3146d92a..dee1e9891 100644 --- a/doc/bugs/pagespec_can__39__t_match___123__curly__125___braces.mdwn +++ b/doc/bugs/pagespec_can__39__t_match___123__curly__125___braces.mdwn @@ -29,12 +29,16 @@ More tests: > curlies when doing so to avoid one being used to break out of the `q{}`. > > Alternative ways to handle it would be: +> > * Escape curlies. But then you have to deal with backslashes > in the user's input as they could try to defeat your escaping. > Gets tricky. +> > * Avoid exposing user input to interpolation as a string. One > way that comes to mind is to have a local string lookup hash, > and insert each user specified string into it, then use the hash > to lookup the specified strings at runtime. [[done]] > > --[[Joey]] + +Thank you! I'll try it. --Ivan Z.