"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "zxingorg/src/main/java/com/google/zxing/web/WelcomeFilter.java" between
zxing-zxing-3.4.0.tar.gz and zxing-zxing-3.4.1.tar.gz

About: ZXing ("zebra crossing") is a multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages.

WelcomeFilter.java  (zxing-zxing-3.4.0):WelcomeFilter.java  (zxing-zxing-3.4.1)
skipping to change at line 34 skipping to change at line 34
/** /**
* Handles redirects to the app landing page. * Handles redirects to the app landing page.
*/ */
@WebFilter({"/", "/index.jspx", "/w/", "/w/index.jspx"}) @WebFilter({"/", "/index.jspx", "/w/", "/w/index.jspx"})
public final class WelcomeFilter extends AbstractFilter { public final class WelcomeFilter extends AbstractFilter {
@Override @Override
public void doFilter(ServletRequest servletRequest, public void doFilter(ServletRequest servletRequest,
ServletResponse servletResponse, ServletResponse servletResponse,
FilterChain filterChain) { FilterChain filterChain) {
redirect(servletResponse, "/w/decode.jspx"); redirect(servletResponse, "https://" + servletRequest.getServerName() + "/w/ decode.jspx");
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)