diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index e785fd4b5..c7782f2f5 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -7,6 +7,7 @@ - Fixed a bug in WebGUI::Asset::Post where userDefined and synopsis form elements were not populated when previewed. (Martin Kamerbeek / Procolix) - fix: Indent Navigation broken (Wouter van Oijen / ProcoliX) + - fix: HttpProxy not working (with fix) (Eric Kennedy) 7.0.2 diff --git a/lib/WebGUI/Asset/Wobject/HttpProxy.pm b/lib/WebGUI/Asset/Wobject/HttpProxy.pm index 5c84522e3..0d8d3c515 100644 --- a/lib/WebGUI/Asset/Wobject/HttpProxy.pm +++ b/lib/WebGUI/Asset/Wobject/HttpProxy.pm @@ -317,11 +317,11 @@ sub view { my $uploadFile = $self->session->request->upload($self->session->form->process('HttpProxy_'.$input_name)); if(-r $uploadFile) { # Found uploaded file - @formUpload=($uploadFile, qq/$self->session->form->process('HttpProxy_'.$input_name)/); + @formUpload=($uploadFile, $self->session->form->process('HttpProxy_'.$input_name)); $formdata{$input_name}=\@formUpload; $contentType = 'form-data'; # Different Content Type header for file upload } else { - $formdata{$input_name}=qq/$self->session->form->process('HttpProxy_'.$input_name)/; + $formdata{$input_name}=$self->session->form->process('HttpProxy_'.$input_name); } } # Create POST request