File tree Expand file tree Collapse file tree
flow/src/org/labkey/flow/controllers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646import org .labkey .api .util .FileUtil ;
4747import org .labkey .api .util .JobRunner ;
4848import org .labkey .api .util .TestContext ;
49+ import org .labkey .api .util .URLHelper ;
4950import org .labkey .api .view .ActionURL ;
5051import org .labkey .api .view .HttpView ;
5152import org .labkey .api .view .JspView ;
7273import org .springframework .validation .Errors ;
7374import org .springframework .web .servlet .ModelAndView ;
7475
75- import java .net .URI ;
76-
7776@ Marshal (Marshaller .Jackson )
7877public class FlowController extends BaseFlowController
7978{
@@ -367,8 +366,8 @@ public class SavePreferencesAction extends SimpleViewAction<Object>
367366 public ModelAndView getView (Object o , BindException errors ) throws Exception
368367 {
369368 FlowPreference .update (getRequest ());
370- URI uri = new URI (getRequest ().getContextPath () + "/_.gif" );
371- return HttpView .redirect (uri . toString () );
369+ URLHelper url = new URLHelper (getRequest ().getContextPath () + "/_.gif" );
370+ return HttpView .redirect (url , false );
372371 }
373372
374373 @ Override
You can’t perform that action at this time.
0 commit comments