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

DuckDuckGo search results in "forbidden" #22090

Closed
atouchet opened this issue Nov 2, 2018 · 6 comments
Closed

DuckDuckGo search results in "forbidden" #22090

atouchet opened this issue Nov 2, 2018 · 6 comments
Assignees

Comments

@atouchet
Copy link
Contributor

@atouchet atouchet commented Nov 2, 2018

URL: https://duckduckgo.com/html

Steps to reproduce:

  1. Load https://duckduckgo.com/html
  2. Search something.
  3. The search result page does not appear but instead the text "forbidden" is displayed.

This issue first occurred in the 2018-11-02 nightly build. Tested in Windows 10.

@atouchet
Copy link
Contributor Author

@atouchet atouchet commented Nov 2, 2018

This issue also occurs using the https://duckduckgo.com/ version of the site.

@paulrouget paulrouget mentioned this issue Nov 2, 2018
16 of 24 tasks complete
@atouchet
Copy link
Contributor Author

@atouchet atouchet commented Nov 3, 2018

The search page seems to load normally when not navigated to from the DuckDuckGo home page. For example searching something using the Servo URL prompt still works fine.

@atouchet
Copy link
Contributor Author

@atouchet atouchet commented Dec 3, 2018

This is now only happening with the https://duckduckgo.com/html version of the site.

@jdm jdm added the A-network label Dec 3, 2018
@jdm
Copy link
Member

@jdm jdm commented Dec 3, 2018

This is caused by Servo adding a Origin: https://duckduckgo.com:443 header to the request. This isn't present in Firefox, but I'm not sure why yet.

@jdm jdm added the C-reproduced label Dec 3, 2018
@jdm
Copy link
Member

@jdm jdm commented Dec 3, 2018

Ok, it's not the presence of the header itself. It's the presence of the :443 in the header, since when I set network.http.sendOriginHeader to 1 in Firefox the site still loads.

@jdm
Copy link
Member

@jdm jdm commented Dec 3, 2018

As expected, this is a regression from #21644.

bors-servo added a commit that referenced this issue Dec 3, 2018
Fix DuckDuckGo HTML search

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22090
- [ ] There are tests for these changes
@jdm jdm self-assigned this Dec 3, 2018
bors-servo added a commit that referenced this issue Dec 14, 2018
Fix DuckDuckGo HTML search

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22090
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22354)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Dec 14, 2018
Fix DuckDuckGo HTML search

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22090
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22354)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Dec 14, 2018
Fix DuckDuckGo HTML search

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22090
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22354)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Dec 15, 2018
Fix DuckDuckGo HTML search

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22090
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22354)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Dec 17, 2018
Fix DuckDuckGo HTML search

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22090
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22354)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Dec 17, 2018
Fix DuckDuckGo HTML search

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22090
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22354)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Dec 18, 2018
Fix DuckDuckGo HTML search

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22090
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22354)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Dec 18, 2018
Fix DuckDuckGo HTML search

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22090
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22354)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Dec 18, 2018
Fix DuckDuckGo HTML search

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22090
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22354)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Dec 18, 2018
Fix DuckDuckGo HTML search

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22090
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22354)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Dec 18, 2018
Fix DuckDuckGo HTML search

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22090
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22354)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Dec 19, 2018
Fix DuckDuckGo HTML search

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22090
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22354)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Dec 22, 2018
Fix DuckDuckGo HTML search

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22090
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22354)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.