Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use relative path for redirects avoiding problems with reverse proxies #486

Merged
merged 1 commit into from
Feb 25, 2012

Conversation

fourplusone
Copy link
Contributor

Since nginx doesn't rewrite Location: ... headers typing a padname like 'hello world' will result in a redirect to /p/hello_world instead of /pad/p/hello_world

You can reproduce this bug on factor.cc/pad:

curl -v "https://factor.cc/pad/p/Hello%20World"

Redirecting to ./sanetized_pad_name instead of /p/sanetized_pad_name should fix this

@jhollinger
Copy link
Contributor

+1. While it can also be fixed with proxy_redirect / /pad/; 0 config is better.

@0ip
Copy link
Member

0ip commented Feb 25, 2012

it works, thanks :)

0ip pushed a commit that referenced this pull request Feb 25, 2012
use relative path for redirects avoiding problems with reverse proxies
@0ip 0ip merged commit 1b339a6 into ether:master Feb 25, 2012
@MarkTraceur
Copy link
Contributor

Somehow this got changed again, don't know why....in any case, I've fixed it again in #833 if anyone is still having trouble.

muxator added a commit that referenced this pull request Nov 25, 2019
This upgrade solves the high-severity vulnerabilities regarding
https-proxy-agent that were still present in 8e6bca4.

The output of `npm audit` goes from this:
  found 29 vulnerabilities (3 low, 26 high) in 13338 scanned packages
    run `npm audit fix` to fix 4 of them.
    1 vulnerability requires semver-major dependency updates.
    24 vulnerabilities require manual review. See the full report for details.

To this:
found 5 vulnerabilities (3 low, 2 high) in 13338 scanned packages
  1 vulnerability requires semver-major dependency updates.
  4 vulnerabilities require manual review. See the full report for details.


Changelog:
- https://github.com/npm/cli/releases

6.13.1 (2019-11-18)
    BUG FIXES
    938d6124d #472 fix(fund): support funding string shorthand (@ruyadorno)
    b49c5535b #471 should not publish tap-snapshot folder (@ruyadorno)
    3471d5200 #253 Add preliminary WSL support for npm and npx (@infinnie)
    3ef295f23 #486 print quick audit report for human output (@isaacs)

    TESTING
    dbbf977ac #278 added workflow to trigger and run benchmarks (@mikemimik)
    b4f5e3825 #457 feat(docs): adding tests and updating docs to reflect changes in registry teams API. (@nomadtechie)
    454c7dd60 #456 fix git configs for git 2.23 and above (@isaacs)

    DEPENDENCIES
    661d86cd2 [email protected] (@claudiahdz)

6.13.0 (2019-11-05)
    NEW FEATURES
    4414b06d9 #273 add fund command (@ruyadorno)

    BUG FIXES
    e4455409f #281 delete ps1 files on package removal (@NoDocCat)
    cd14d4701 #279 update supported node list to remove v6.0, v6.1, v9.0 - v9.2 (@ljharb)

    DEPENDENCIES
    a37296b20 [email protected]
    d3cb3abe8 [email protected]

    TESTING
    688cd97be #272 use github actions for CI (@JasonEtco)
    9a2d8af84 #240 Clean up some flakiness and inconsistency (@isaacs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants