From 085c015b4cf090d7133cc1e726d59d74fced4061 Mon Sep 17 00:00:00 2001 From: mindless Date: Tue, 6 Jan 2009 00:56:46 +0000 Subject: [PATCH] update to r14099 / HUDSON-117. Rather than directly sendRedirect, send a 404 response (this is accurate for requested URL) but include html with javascript/meta to redirect browsers up to build page. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14178 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/model/Run.java | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/hudson/model/Run.java b/core/src/main/java/hudson/model/Run.java index 9588458f82..043d5696f9 100644 --- a/core/src/main/java/hudson/model/Run.java +++ b/core/src/main/java/hudson/model/Run.java @@ -1287,14 +1287,25 @@ public abstract class Run ,RunT extends Run" + + "" + + "" + + "" + + "" + + "Not found"); + out.flush(); } } }