#106 "invalid parameter" when deleting an alias

v_2.2
closed-fixed
nobody
Core (82)
5
2009-01-14
2008-10-30
Anonymous
No

on the Admin interface, when I try to delete an alias, I've got the message "invalid parameter".

Discussion

  • Nobody/Anonymous

    By the way, my email for responses :
    b.lathiere@ism.asso.fr

     
  • GingerDog

    GingerDog - 2008-11-06

    works for me; what version of postfixadmin are you using?

     
  • Benoit Lathiere

    Benoit Lathiere - 2008-12-09

    The problem :

    When You click on "delete" in the search page, the URL is :
    http://server/postfixadmin/delete.php?delete=j.white&domain=toto.org

    but the URL must be
    http://server/postfixadmin/delete.php?table=alias&delete=j.white&domain=toto.org
    (as in mailbox deletion)

    The first parameter "table" is missing.

    You have just to modify your template/search.php file like this :

    Line86 :
    print " <td><a href=\"delete.php?table=alias&";

    Line 96 :
    print " <td><a href=\"delete.php?table=alias&delete=" . urlencode ($tAlias[$i]['address']) . "&domain=" . $tAlias[$i]['domain'] . "\"onclick=\"return confirm ('" . $PALANG['confirm'] . $PALANG['pOverview_get_aliases'] . ": ". $tAlias[$i]['address'] . "')\">" . $PALANG['del'] . "</a></td>\n";

     
  • GingerDog

    GingerDog - 2009-01-14
    • status: open --> closed-fixed
     
  • GingerDog

    GingerDog - 2009-01-14

    works for me. (svn)

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks