The base URL can contain a tilde which conflicts with the queryless_urls regex, causing preg_replace_callback to return null. Using bracket delimiters would be better.
Switched from bracket delimiters to exceping the tilde in preg_quote
Wrong delimiter in preg_quote in News.controller

Signed-off-by: emanuele <emanuele45@gmail.com>
Some wrong delimiters in preg_quote in Subs.php

Signed-off-by: emanuele <emanuele45@gmail.com>
Missing delimiter in preg_quote, even though being a function name it shouldn't matter

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #1877 from emanuele45/preg_quotes

Preg quotes
Fix the hooks management url in core features - thanks phantom for reporting - fixes #1879

Signed-off-by: emanuele <emanuele45@gmail.com>
Fix filtering of hooks in hooks management

Signed-off-by: emanuele <emanuele45@gmail.com>
We have a redirection level, why not use it?

Signed-off-by: emanuele <emanuele45@gmail.com>
Make news in the admin panel look good - partially fixes #1852

Signed-off-by: emanuele <emanuele45@gmail.com>
Simplify the avatar settings and options reducing the permissions to allow change avatar and converting the "method" to enable/disable

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #1881 from emanuele45/rndfix

Rndfix
Merge pull request #1884 from Spuds/pt12

Pt12
We have a constant for the db, let's use it

Signed-off-by: emanuele <emanuele45@gmail.com>
Restore the time limit before going any further

Signed-off-by: emanuele <emanuele45@gmail.com>
Use an errorbox class for FTP errors

Signed-off-by: emanuele <emanuele45@gmail.com>
Require FTP data in order to download a database backup

Signed-off-by: emanuele <emanuele45@gmail.com>
A missing closing quote for the href attribute in new replies template - thanks ahrasis for reporting

Signed-off-by: emanuele <emanuele45@gmail.com>
Paranoid mode: log the backup download action and send an email to the admins

Signed-off-by: emanuele <emanuele45@gmail.com>
Fix few errors in viewing the spider logs

Signed-off-by: emanuele <emanuele45@gmail.com>