{"id":3976,"date":"2016-02-24T17:46:08","date_gmt":"2016-02-24T17:46:08","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=3976"},"modified":"2016-12-02T22:33:24","modified_gmt":"2016-12-02T22:33:24","slug":"tip-verify-unique-strings-in-preprocessors","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/tip-verify-unique-strings-in-preprocessors\/","title":{"rendered":"Tip: Verify unique strings in preprocessors"},"content":{"rendered":"<p>Some projects include a pre-processor step to search for a string within a variable to determine whether to change the value of a variable. Make certain that such changes uniquely identify the string to avoid unintended changes to other content.<\/p>\n<p>For example, a Search and Replace pre-processor searching for <strong><code>lbs<\/code>\\r\\n<\/strong> can cause a client named Shelbs, in the data file to be replaced unintentionally with the new code if the name is followed with a carriage return and line feed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some projects include a pre-processor step to search for a string within a variable to determine whether to change the value of a variable. Make certain that such changes uniquely identify the string to avoid unintended changes to other content. For example, a Search and Replace pre-processor searching for lbs\\r\\n can cause a client named [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3976"}],"collection":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=3976"}],"version-history":[{"count":3,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3976\/revisions"}],"predecessor-version":[{"id":3990,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3976\/revisions\/3990"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=3976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=3976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=3976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}