Skip to content

Commit

Permalink
Merge pull request #16 from karmanyaahm/patch-1
Browse files Browse the repository at this point in the history
Support ipv6 in README
  • Loading branch information
hakobe authored Jan 19, 2023
2 parents ba3511e + 699f392 commit e8932ec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Paranoidhttp provides a pre-configured http.Client that protects you from harm.
## Description

Paranoidhttp is a factory of http.Client that is paranoid againt attackers.
This is useful when you craete a HTTP request using inputs from possibly malicious users.
This is useful when you create an HTTP request using inputs from possibly malicious users.

The created http.Client protects you from connecting to internal IP ranges
even though redirects or DNS tricks are used.
Expand All @@ -38,10 +38,6 @@ client, _, _ := paranoidhttp.New(
paranoidhttp.PermittedIPNets(ipNet))
```

## Known Issues

- Supports only IPv4 (blocks IPv6).

## Acknowledgement

I want to thank [LWPx::ParanoidAgent](https://metacpan.org/pod/LWPx::ParanoidAgent).
Expand Down

0 comments on commit e8932ec

Please sign in to comment.