abhidas17695 / dweb-ext

0 stars 0 forks source link

https://dweb.blahblah.com/ is redirected to https://dweb.me/arc/archive.org/details #22

Closed abhidas17695 closed 6 years ago

abhidas17695 commented 6 years ago

Steps to reproduce this bug :

  1. Visit dweb.archive.org.
  2. Wait for the re-direction to take place
  3. Open a new tab and visit https://dweb.blahblah.com/
  4. The new URL loaded is https://dweb.me/arc/archive.org/details? Whatever the last URL redirected to , this URL redirects to the same
mitra42 commented 6 years ago

So problem could be in my code or your code, next step would be to generate some console logging - when I follow these steps above all I see is

Navigated to chrome-error://chromewebdata/
2Navigated to https://dweb.me/archive/archive.html

We need some console logging which checks

  1. what you send at the boundary between your code and mine, and then
  2. what you get back ...

That way we should be able to quickly (and repeatedly) determine whether the problem is in your code pre-call; my code; or code-post-call

abhidas17695 commented 6 years ago

I will add logging for that

abhidas17695 commented 6 years ago

I've added the logging at the boundaries. You should see URL intercepted is https://dweb.blahblah.com/ and URL to load is https://dweb.me/archive/archive.html

mitra42 commented 6 years ago

I think its caused by #23, and using the result of previous request, which has been stored in bad (global) location. Lets fix #23 and recheck this.

mitra42 commented 6 years ago

Works now - fixed by #23