You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
The processJoins method is calling quoteIdentifierInFragment with an array of safeWords.
In the list of safeWords the AND, OR and BETWEEN should be surrounded by spaces (or whitespaces).
Otherwise the return string may be compromised. Here is an example from SpekCommerce :
input - catalog_category_website.category_id = catalog_category.category_id
output - catalog_category_website.category_id = catalog_category.category_id
the line:
: $platform->quoteIdentifierInFragment($join['on'], array('=', 'AND', 'OR', '(', ')', 'BETWEEN', '<', '>'));
should be replaced by:
: $platform->quoteIdentifierInFragment($join['on'], array('=', ' AND ', ' OR ', '(', ')', ' BETWEEN ', '<', '>'));
The text was updated successfully, but these errors were encountered:
The processJoins method is calling quoteIdentifierInFragment with an array of safeWords.
In the list of safeWords the AND, OR and BETWEEN should be surrounded by spaces (or whitespaces).
Otherwise the return string may be compromised. Here is an example from SpekCommerce :
input - catalog_category_website.category_id = catalog_category.category_id
output -
catalog_categ
ory_website
.categ
ory_id
=catalog_categ
ory
.categ
ory_id
the line:
: $platform->quoteIdentifierInFragment($join['on'], array('=', 'AND', 'OR', '(', ')', 'BETWEEN', '<', '>'));
should be replaced by:
: $platform->quoteIdentifierInFragment($join['on'], array('=', ' AND ', ' OR ', '(', ')', ' BETWEEN ', '<', '>'));
The text was updated successfully, but these errors were encountered: