Giter Site home page Giter Site logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
Issue 4 has been merged into this issue.

Original comment by [email protected] on 14 Aug 2010 at 3:04

from hackbar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
Aware of this problem. Pending of revision and fix.

Original comment by [email protected] on 6 Sep 2010 at 1:41

  • Changed state: Accepted

from hackbar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
I just encountered this issue when posting base64 data to a website. Attached 
is a patch that should temporarily resolve the issue. All it does is url encode 
the '+' into '%2b' right after the post data is stripped of newlines. I was 
looking into what causes this issue and it seems more related to the global 
Firefox loadURI() function or the nsIMIMEInputStream setData() method, than to 
the HackBar. This at least solves the issue for now until a better solution is 
created.

Original comment by [email protected] on 15 Feb 2011 at 1:38

Attachments:

from hackbar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
The regular expression is overkill for replacing the '+', sorry. Patch has been 
modified.

Original comment by [email protected] on 15 Feb 2011 at 1:43

Attachments:

from hackbar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
Hi Josiah,

sorry for the late reply... I'm currently without internet connection so no to 
much time to check and update the addon but I'll do my best as soon as I get my 
broadband connection sorted at home ;)

Thanks!

Original comment by [email protected] on 21 Feb 2011 at 9:00

from hackbar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
Well it appears regex was the way to go because I didn't notice that replace 
only replaced the first occurrence. Patch has been modified again using a 
gloabl regex.

Original comment by [email protected] on 24 Feb 2011 at 6:07

Attachments:

from hackbar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
Patched applied and functionality is working. It'll be included in the next 
release.

Original comment by [email protected] on 14 Mar 2011 at 12:01

  • Changed state: Verified

from hackbar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
I did a workaround myself, and added this after line 195 in main.js

postString = postString.replace( new RegExp(/\+/g), " " );

This way, when you load a URL with post parameters using + as spaces, you don't 
send them back as %2b.

Original comment by [email protected] on 16 Aug 2011 at 10:32

from hackbar.

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.