Menu

preg_replace in adminer code

Help
froop
2015-04-08
2015-04-10
  • froop

    froop - 2015-04-08

    I am using the latest English only version of Adminer on a server where preg_replace has been disabled for security reasons. On examining my error logs I have noted that adminer throws up a number of errors owing to this. As far as I can see this has no further consequences. However, it would be nice to know whether it might be possible to do something about this - Adminer is compact but not THAAAT compact that I could contemplate playing around with its source code without some help from here. I'd be most grateful for any advice.

    Um... I happened to look at the generated HTML. Is there a reason why the document header is not wrapped in <head></head> tags? As far as I can tell the preg_replace issue only arises when you first log in to a DB. Subsequent operations do not appear to use it.

     

    Last edit: froop 2015-04-08
  • Jakub Vrána

    Jakub Vrána - 2015-04-10

    Disabling preg_replace for security reasons is ridiculous. Adminer's source codes are at https://github.com/vrana/adminer. <head> tag is optional in HTML.

     

Log in to post a comment.