Skip to content
Snippets Groups Projects
Commit 58b2e003 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Eliminated unneeded string escaping

parent 04a91aeb
No related branches found
No related tags found
2 merge requests!456Release candidate v1 24,!424Implemented additional checks to prevent SQL failures during processing of bad...
......@@ -104,7 +104,7 @@ class Posts(DbAdapterHolder):
if md and 'tags' in md and isinstance(md['tags'], list):
for tag in md['tags']:
if tag and isinstance(tag, str):
tags.append(escape_characters(tag))
tags.append(tag) # No escaping needed due to used sqlalchemy formatting features
sql = """
SELECT is_new_post, id, author_id, permlink_id, post_category, parent_id, community_id, is_valid, is_muted, depth
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment