Menu

#677 wget returns html instead of full php

4.7.1
closed-fixed
nobody
None
5
2019-05-12
2019-05-10
loranger
No

Hello,

I just install adminer as I usually do, using wget https://www.adminer.org/latest.php, then tried to log-in.
My display was broken and it took me a little to understand that wget did fetch the html output of the latest adminer release instead of the php code itself.

Here is the command I used to verify :
wget https://www.adminer.org/latest.php -O- | head

And here is the output I got :

--2019-05-10 18:19:40--  https://www.adminer.org/latest.php
Résolution de www.adminer.org (www.adminer.org)… 95.168.218.179, 2a01:28:ca:112::1:907
Connexion à www.adminer.org (www.adminer.org)|95.168.218.179|:443… connecté.
requête HTTP transmise, en attente de la réponse… 302 Found
Emplacement : static/download/4.7.1/adminer-4.7.1.php [suivant]
--2019-05-10 18:19:40--  https://www.adminer.org/static/download/4.7.1/adminer-4.7.1.php
Réutilisation de la connexion existante à www.adminer.org:443.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : non indiqué [text/html]
Sauvegarde en : « STDOUT »

-                              [<=>                                   ]       0  --.-KB/s               <!DOCTYPE html>
<html lang="en" dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="robots" content="noindex">
<title>Login - Adminer</title>
<link rel="stylesheet" type="text/css" href="adminer-4.7.1.php?file=default.css&amp;version=4.7.1">
<script src='adminer-4.7.1.php?file=functions.js&amp;version=4.7.1' nonce="ZTFiNTAwYTc0ZTc0NGYwNjg4NzZmMjE0YmRkY2VmYmE="></script>
<link rel="shortcut icon" type="image/x-icon" href="adminer-4.7.1.php?file=favicon.ico&amp;version=4.7.1">
<link rel="apple-touch-icon" href="adminer-4.7.1.php?file=favicon.ico&amp;version=4.7.1">

Discussion

  • Jakub Vrána

    Jakub Vrána - 2019-05-12
    • status: open --> closed-fixed
     
  • Jakub Vrána

    Jakub Vrána - 2019-05-12

    Thanks, fixed.

     

Log in to post a comment.