#21169add fullQuoteStr to stdWrap
Description
(afaik) at the moment you need a userFunc to sanitze a value to be sql-injection save
- Example: sql-injection possible
1 = CONTENT
1.table = tt_content
1.select {
pidInList = this
orderBy = sorting
andWhere.cObject = TEXT
andWhere.data = GPvar:parameter
andWhere.wrap = title = ‘|‘
}
- how it could be:
1 = CONTENT
1.table = tt_content
1.select {
pidInList = this
orderBy = sorting
andWhere.cObject = TEXT
andWhere.data = GPvar:parameter
# define table name for fullQuoteStr
andWhere.fullQuoteStr = tt_content
andWhere.wrap = title = ‘|‘
}
(issue imported from #M12094)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.