lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> > And by the way, is this way of concatenating 100% safe of any code
> > injections? Can only "]]" end string beginning with "[["?
> >
> 
> There is no 100% safe way the way you are doing it

Sure there is: find the largest sequence [===...===[ in the user code and
wrap it with one more '='.