Skip to content

Commit

Permalink
Fixes #9887 - Deprecate CGI Servlet. (#9888)
Browse files Browse the repository at this point in the history
Signed-off-by: Simone Bordet <[email protected]>
  • Loading branch information
sbordet authored Jun 8, 2023
1 parent 3084555 commit ec7e1fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@
* <dt>ignoreExitState</dt>
* <dd>If true then do not act on a non-zero exec exit status")</dd>
* </dl>
*
* @deprecated do not use, no replacement, will be removed in a future release.
*/
@Deprecated
public class CGI extends HttpServlet
{
private static final long serialVersionUID = -6182088932884791074L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,6 @@
<url-pattern>/dispatch/*</url-pattern>
</servlet-mapping>

<servlet>
<servlet-name>CGI</servlet-name>
<servlet-class>org.eclipse.jetty.servlets.CGI</servlet-class>
<load-on-startup>1</load-on-startup>
<async-supported>true</async-supported>
</servlet>

<servlet-mapping>
<servlet-name>CGI</servlet-name>
<url-pattern>/cgi-bin/*</url-pattern>
</servlet-mapping>

<servlet>
<servlet-name>Chat</servlet-name>
<servlet-class>com.acme.ChatServlet</servlet-class>
Expand Down

0 comments on commit ec7e1fd

Please sign in to comment.