To reproduce: 1. Open a cart window. 2. Click the print button to print your cart. 3. Print the cart or cancel. 4. Click the print button again. At this point your cart will now appear to be empty. 5. Click the print button again. You will be redirected to a 404 error page.
I can no longer reproduce this bug. If anyone else finds otherwise please reopen.