Code Monkey home page Code Monkey logo

Comments (15)

tasn avatar tasn commented on August 23, 2024 2

Thanks for reporting. I can't believe this is an issue with signed pages, it was annoying me too! :)

I'll try to figure it out, thanks for reporting!

from webext-signed-pages.

tasn avatar tasn commented on August 23, 2024 1

Released a new version.

from webext-signed-pages.

rugk avatar rugk commented on August 23, 2024

Well… just disable the add-on and it works again, immediately. 😆

from webext-signed-pages.

tasn avatar tasn commented on August 23, 2024

💔

from webext-signed-pages.

rugk avatar rugk commented on August 23, 2024

This is really critical, as I just noticed…
In Firefox 69.0.1 it often breaks long-running (or big file?) downloads and I get this error:

/tmp/.../....part cannot be saved, because the source file cannot be read.

Originally reported at https://bugzilla.redhat.com/show_bug.cgi?id=1758895

from webext-signed-pages.

tasn avatar tasn commented on August 23, 2024

Oh, thanks for the update!
Having just reviewed the code following your report there's indeed a problem. It seems like we just try to process and validate any "main_frame", though downloads (and icons?) can also be ones.
While reviewing the code I also spotted a few other issues:

  1. ondata may be called more than once (e.g. partial data every time) - we need to address that.
  2. We need to make sure the response is a utf-8 one rather than binary before we decide to process it - need to verify how this should be done exactly. This should fix this issue.

Are you able to consistently reproduce the download issue? If so, are you able to test a potential workaround?

from webext-signed-pages.

tasn avatar tasn commented on August 23, 2024

Also, are you able to provide a link that fails? Or show the extension's output log? (Tools -> Web developer -> browser console)

from webext-signed-pages.

rugk avatar rugk commented on August 23, 2024

Also maybe fix that TODO lol:

// FIXME: Only filter pages that we care about, the rest can skip this.

When the signature is not found, you can also add an if to return early instead of still decoding the text…

from webext-signed-pages.

rugk avatar rugk commented on August 23, 2024

Maybe something like #23??

from webext-signed-pages.

tasn avatar tasn commented on August 23, 2024

From #23: Could you please try if this branch fixes it for you: https://github.com/tasn/webext-signed-pages/tree/early-abort

I added an early abort in case we shouldn't check a page.

from webext-signed-pages.

rugk avatar rugk commented on August 23, 2024

Do you have a prebuild ZIP or so?

from webext-signed-pages.

tasn avatar tasn commented on August 23, 2024

from webext-signed-pages.

rugk avatar rugk commented on August 23, 2024

Yeah, I can use about:debugging. That's easy…

from webext-signed-pages.

tasn avatar tasn commented on August 23, 2024

Try this: signed_pages-0.4.1.zip

from webext-signed-pages.

rugk avatar rugk commented on August 23, 2024

Hmm… could not reproduce the issue anymore right now… 🤔
But I guess it is fine… 😉

from webext-signed-pages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.