Giter Site home page Giter Site logo

cacookiecleaner's People

Contributors

cyberarkgit avatar moshikocyberark avatar pkozlov-cyberark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cacookiecleaner's Issues

cookiecleaner.py function modify_post_data fails to load the entry data

Summary

Provide brief overview and context for the discovered bug.

Steps to Reproduce

  1. Place .har file in working path
  2. Execute the cookiecleaner.py function as instructed:
  3. python.exe .\cookiecleaner.py
  4. full path

Expected Results

  1. sanitized HAR file to be generated

Actual Results

  • Exception is raised: Cannot load file: Expecting value: line 1 column 1 (char 0)

Reproducible

  • Always
  • Sometimes
  • Non-Reproducible

Version/Tag number

b5ef259

Environment setup

  • Windows 10; local machine
  • Python 3.12

Additional Information

traced the issue to function modify_post_data:

  • postdata_text_json: json = json.loads(entry.get('text'))

crashing - Exception of type System.OutOfMemoryException was thrown.

Summary

Provide brief overview and context for the discovered bug.

Steps to Reproduce

  1. Start the Cacookiecleaner
  2. enter a name of a big hat file, e.g. has 440+MB
  3. it processes for several seconds and crashes witht he mentioned exception - Exception of type 'System.OutOfMemoryException' was thrown.

Expected Results

expected is to have the output har file present also for big har file

Actual Results

Exception of type 'System.OutOfMemoryException' was thrown.

A clear and concise description of what actually did happen. Include logs and
screens shots, whenever possible

Reproducible

  • Always
  • Sometimes
  • Non-Reproducible

Version/Tag number

What version of the product are you running? Any version info that you can
share is helpful. For example, you might give the version from Docker logs,
the Docker tag, a specific download URL, the output of the /info route, etc.

Environment setup

  • Can you describe the environment in which this product is running? Is it running on a VM / in a container / in a cloud? - windows client; 16 GB RAM
  • Which cloud provider? Which container orchestrator (including version)? - n/a
  • The more info you can share about your runtime environment, the better we may be able to reproduce the issue.

Additional Information

Add any other context about the problem here.

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.