Skip to main content
6 events
when toggle format what by license comment
Nov 5, 2015 at 9:13 history migrated from magento.meta.stackexchange.com (revisions)
Oct 28, 2015 at 8:05 comment added user4351 @MagenX So you're saying that if you don't use version control or standard system administration BCP, that this regex is to blame?
Oct 27, 2015 at 18:47 comment added MagenX also this regex is vulnerable, you have ^/ , make sure you dont copy your source files into top folder, like /old/ , /upgrade/ etc
Oct 27, 2015 at 18:42 comment added Adam L. Bad copy and paste job, sorry. Added in the ? at the end so the trailing slash is optional. Tested it just now and it is working as it should.
Oct 27, 2015 at 18:40 comment added MagenX your regex will not work, cause you check against directory only, . so "report/config.xml , cron.php" do not match, and you have a vertical bar or pipe symbol at the end.. copy-paste? also do not mess regex together with /app/ , if you misplace something, it will be hacked.
Oct 27, 2015 at 18:25 history answered Adam L. CC BY-SA 3.0