Changeset 4506 for branches


Ignore:
Timestamp:
Sep 11, 2008, 11:29:40 AM (15 years ago)
Author:
Nicklas Nordborg
Message:

References #118: Change problematic forms to use POST instead of GET

I have changed most of the forms I could find to use POST instead of GET. Many of them are probably not problematic, but I found some:

  • Form for JEP extra value calculator plug-in
  • Form for JEP intensity transformer plug-in
Location:
branches/2.8-stable/www
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • branches/2.8-stable/www/admin/plugindefinitions/select_installation_type.jsp

    r4476 r4506  
    8989  </base:head>
    9090  <base:body onload="init()">
    91     <form name="installations" action="index.jsp" method="get" onsubmit="return false;">
     91    <form name="installations" action="index.jsp" method="post" onsubmit="return false;">
    9292    <input type="hidden" name="ID" value="<%=ID%>">
    9393    <input type="hidden" name="cmd" value="InstallationType">
  • branches/2.8-stable/www/common/columns/confirm_delete.jsp

    r4476 r4506  
    5050  </base:note>
    5151  <p>
    52   <form action="submit_preset.jsp" method="get" name="confirm">
     52  <form action="submit_preset.jsp" method="post" name="confirm">
    5353    <input type=hidden name="ID" value="<%=ID%>">
    5454    <input type=hidden name="cmd" value="Delete">
  • branches/2.8-stable/www/common/columns/save_preset.jsp

    r4476 r4506  
    8888<base:body onload="init()">
    8989  <p>
    90   <form name="preset" action="submit_preset.jsp" method="get" onsubmit="return validateForm();">
     90  <form name="preset" action="submit_preset.jsp" method="post" onsubmit="return validateForm();">
    9191  <input type="hidden" name="ID" value="<%=ID%>">
    9292  <input type="hidden" name="cmd" value="Save">
  • branches/2.8-stable/www/common/context/saveas.jsp

    r4476 r4506  
    7979<base:body onload="init()">
    8080  <p>
    81   <form name="preset" action="index.jsp" method="get" onsubmit="return validateForm();">
     81  <form name="preset" action="index.jsp" method="post" onsubmit="return validateForm();">
    8282  <input type=hidden name="ID" value="<%=ID%>">
    8383  <input type=hidden name="cmd" value="SaveCurrentContext">
  • branches/2.8-stable/www/common/import/no_fileformat.jsp

    r4476 r4506  
    106106  </base:head>
    107107  <base:body>
    108     <form name="import" action="index.jsp" method="get" onsubmit="return false;">
     108    <form name="import" action="index.jsp" method="post" onsubmit="return false;">
    109109    <input type="hidden" name="ID" value="<%=ID%>">
    110110    <input type="hidden" name="cmd" value="AutoDetect">
  • branches/2.8-stable/www/common/import/select_plugin.jsp

    r4476 r4506  
    214214  </base:head>
    215215  <base:body onload="init()">
    216     <form name="import" action="index.jsp" method="get" onsubmit="return false;">
     216    <form name="import" action="index.jsp" method="post" onsubmit="return false;">
    217217    <input type="hidden" name="ID" value="<%=ID%>">
    218218    <input type="hidden" name="cmd" value="RunPlugin">
  • branches/2.8-stable/www/common/plugin/finish_job.jsp

    r4476 r4506  
    108108  </base:head>
    109109  <base:body>
    110     <form name="plugin" action="index.jsp" method="get" onsubmit="return false;">
     110    <form name="plugin" action="index.jsp" method="post" onsubmit="return false;">
    111111    <input type="hidden" name="ID" value="<%=ID%>">
    112112    <input type="hidden" name="cmd" value="FinishNewJob">
  • branches/2.8-stable/www/common/plugin/select_plugin.jsp

    r4476 r4506  
    196196  </base:head>
    197197  <base:body onload="init()">
    198     <form name="plugin" action="index.jsp" method="get" onsubmit="return false;">
     198    <form name="plugin" action="index.jsp" method="post" onsubmit="return false;">
    199199    <input type="hidden" name="ID" value="<%=ID%>">
    200200    <input type="hidden" name="cmd" value="NewJob">
  • branches/2.8-stable/www/logout.jsp

    r4476 r4506  
    8181<base:body>
    8282  <br>
    83   <form action="logout.jsp" method="get" name="logout" onsubmit="return false;">
     83  <form action="logout.jsp" method="post" name="logout" onsubmit="return false;">
    8484    <input type="hidden" name="ID" value="<%=ID%>">
    8585    <input type="hidden" name="noconfirm" value="1">
  • branches/2.8-stable/www/plugins/net/sf/basedb/clients/web/plugins/simple_export.jsp

    r4476 r4506  
    253253  </base:head>
    254254  <base:body onload="init()">
    255     <form name="export" action="index.jsp" method="get" onsubmit="return false;">
     255    <form name="export" action="index.jsp" method="post" onsubmit="return false;">
    256256    <input type="hidden" name="ID" value="<%=ID%>">
    257257    <input type="hidden" name="requestId" value="<%=request.getParameter("requestId")%>">
  • branches/2.8-stable/www/plugins/net/sf/basedb/plugins/jep_extra_value_calculator.jsp

    r4476 r4506  
    286286  </base:head>
    287287  <base:body onload="init()">
    288     <form name="extraValue" action="index.jsp" method="get" onsubmit="return false;">
     288    <form name="extraValue" action="index.jsp" method="post" onsubmit="return false;">
    289289    <input type="hidden" name="ID" value="<%=ID%>">
    290290    <input type="hidden" name="requestId" value="<%=request.getParameter("requestId")%>">
  • branches/2.8-stable/www/plugins/net/sf/basedb/plugins/jep_filter.jsp

    r4476 r4506  
    293293  </base:head>
    294294  <base:body onload="init()">
    295     <form name="filter" action="index.jsp" method="get" onsubmit="return false;">
     295    <form name="filter" action="index.jsp" method="post" onsubmit="return false;">
    296296    <input type="hidden" name="ID" value="<%=ID%>">
    297297    <input type="hidden" name="requestId" value="<%=request.getParameter("requestId")%>">
  • branches/2.8-stable/www/plugins/net/sf/basedb/plugins/jep_intensity_transformer.jsp

    r4476 r4506  
    167167  </base:head>
    168168  <base:body onload="init()">
    169     <form name="transformation" action="index.jsp" method="get" onsubmit="return false;">
     169    <form name="transformation" action="index.jsp" method="post" onsubmit="return false;">
    170170    <input type="hidden" name="ID" value="<%=ID%>">
    171171    <input type="hidden" name="requestId" value="<%=request.getParameter("requestId")%>">
  • branches/2.8-stable/www/views/experiments/overview/save_preset.jsp

    r4476 r4506  
    8787<base:body onload="init()">
    8888  <p>
    89   <form name="preset" action="index.jsp" method="get" onsubmit="return validateForm();">
     89  <form name="preset" action="index.jsp" method="post" onsubmit="return validateForm();">
    9090  <input type="hidden" name="ID" value="<%=ID%>">
    9191  <input type="hidden" name="cmd" value="Save">
Note: See TracChangeset for help on using the changeset viewer.