🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

insomnia-plugin-sanitize-url-html

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

insomnia-plugin-sanitize-url-html

Replace HTML entities in URLs with their respective symbols, for Insomnia REST Client

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
27
Maintainers
1
Weekly downloads
 
Created
Source

insomnia-plugin-sanitize-url-html

Remove HTML entities from a URL in Insomnia REST Client, and replace it with its corresponding symbol.

Installation

From Insomnia Plugin Hub

From the Insomnia App

  • Go to Application > Preferences or click the cog icon (⚙️)
  • Navigate to the Plugins tab
  • Enter insomnia-plugin-sanitize-url-html
  • Click Install

Manual Install

  • Using a terminal, cd into your Insomnia plugins folder - see Insomnia Docs
  • Run git clone https://github.com/okdv/insomnia-plugin-sanitize-url-html
  • Run cd insomnia-plugin-sanitize-url-html

Usage

By default, this plugin is active on all requests, and requires not action on part of the user! Simply run requests as you normally would, if there is a URL that needs HTML entities removed- the plugin will pick it up and do so automatically before the request is sent. Visually, the URL will remain unchanged in the address bar, however you can see the magic by retrieving the request (see insomnia docs) or inspecting the request in the timeline tab of the result window.

Enable/Disable plugin

  • Simply right click on a request or folder in the navigation bar in Insomnia. In the popup, select "Allow HTML Entities in URL" and boom you're done! The plugin will simply ignore all entities in the request, or if a folder- all requests in that folder.
  • To enable the plugin again, simply do the opposite of the above. Except instead choose "Remove HTML Entities in URL" in the popup.
  • Alternatively, you can always disable the entire plugin in Insomnia, see Insomnia Docs.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

License

MIT

Keywords

insomnia

FAQs

Package last updated on 25 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts