Menu

#487 "Save and Continue Edit" - 403 Forbidden Error

4.2.4
closed-wont-fix
nobody
None
5
2017-02-20
2016-02-21
Qcybb
No

Using the "Save and Continue Edit" button causes a 403 Forbidden Error. The POST fails and then tries to perform a directory listing (which is not allowed).

[error] 65051#0: *50174 directory index of "/usr/opt/www/example.com/httpdocs/secretDir/" is forbidden

If I just use the "Edit" button, everything works normally.

Discussion

  • Jakub Vrána

    Jakub Vrána - 2016-02-28
    • status: open --> pending-works-for-me
     
  • Jakub Vrána

    Jakub Vrána - 2016-02-28

    What's the error message?

     
  • Qcybb

    Qcybb - 2016-02-28

    The error message I receive is : 403 Forbidden

    Apache logs show :

    [error] 65051#0: *50174 directory index of "/usr/opt/www/example.com/httpdocs/secretDir/" is forbidden

     
  • Qcybb

    Qcybb - 2016-03-08

    What exactly is supposed to happen when you click the "Save and Continue Edit" button? On my server, it's trying to do a directory request - which is not allowed.

    If I do allow the directory request, it tries to load another instance of adminer inside adminer.

     

    Last edit: Qcybb 2016-03-08
  • Jakub Vrána

    Jakub Vrána - 2016-03-08

    Adminer sends a POST request with the data to save to the same URL. It uses AJAX with JS enabled.

     
    • Qcybb

      Qcybb - 2016-03-08

      When I click the "Save and Continue Edit" button, this is the error I receive :

      directory index of "/example.com/httpdocs/sql-admin/" is forbidden, client: xx.xx.xx.xx, server: www.example.com, request: "POST /sql-admin/ HTTP/1.1", host: "www.example.com", referrer: "http://www.example.com/sql-admin/adminer.php?username=test&db=testing&edit=payment&where%5Bid%5D=4"

      Why is the POST trying bring up the directory index?

      However, if I click the "Save" button, everything works perfectly.

       
  • Qcybb

    Qcybb - 2016-03-15

    The "Save and Continue Edit" button does not work in Internet Explorer 11.

    However, it works in Google Chrome and Firefox.

     
  • Qcybb

    Qcybb - 2016-06-01

    Is this issue ever going to get fixed?

    The "Save and Continue Edit" button still does not work in Internet Explorer 11 in Admin 4.2.5 - when the button is clicked, it produces a 404 error.

    This only happens in IE 11 - but works fine in Chrome and Firefox.

     
  • Jakub Vrána

    Jakub Vrána - 2017-02-20
    • status: pending-works-for-me --> closed-wont-fix
     
  • Jakub Vrána

    Jakub Vrána - 2017-02-20

    It seems that IE interprets an empty URL in XMLHttpRequest.open as the same directory whereas it should be the current file. Please report this to Microsoft.

     

Log in to post a comment.

MongoDB Logo MongoDB