Android icon indicating copy to clipboard operation
Android copied to clipboard

[Bug] site search crashes browser

Open jhnc opened this issue 1 year ago • 1 comments

Describe the bug

submitting a site search from a form makes the browser crash

How to Reproduce

I added this code to a webpage on my site (substitute example.org to test):

<form method="get" action="https://duckduckgo.com/"
  target="_blank" rel="noopener noreferrer">
    <input type="hidden" name="sites" value="example.org"/>
    <input type="text" name="q" maxlength="200" onfocus="this.select()" />
    <input type="submit" value="Search" />
</form>

If I load the webpage, type in a search query, and submit, then after a couple of seconds, the browser crashes ("DuckDuckGo has stopped").

Expected behavior

I expect a webpage to open with the results of the search, as it does when the same webpage is tested using other browsers.

Environment

- DDG App Version: 5.181.1 (51811000)
- Device: Samsung Galaxy S7
- OS: Android 8.0.0

jhnc avatar Dec 12 '23 03:12 jhnc

Thank you for opening an Issue in our Repository. The issue has been forwarded to the team and we'll follow up as soon as we have time to investigate. As stated in our Contribution Guidelines, requests for feedback should be addressed via the Feedback section in the Android app.

github-actions[bot] avatar Dec 12 '23 03:12 github-actions[bot]

Hey @jhnc I tried to reproduce the issue in the latest version of ddg 5.197.1 and I was unable to reproduce it. Could you please try it on the latest version and check if the issue still persists or not ? Thanks, Vishnu

VISHNUONE8 avatar May 07 '24 07:05 VISHNUONE8

Looks good on 5.198.0 which I am now using.

jhnc avatar May 07 '24 14:05 jhnc

We had a regression that could cause that crash, fixed in 5.198.0 indeed.

Closing this issue for now. Thanks a lot for reporting.

aitorvs avatar May 07 '24 14:05 aitorvs