| Summary: | [git-webkit] Question 'Are you sure want to setup a fork?' always returns 'Yes' | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Diego Pino <dpino> | ||||
| Component: | New Bugs | Assignee: | Diego Pino <dpino> | ||||
| Status: | RESOLVED MOVED | ||||||
| Severity: | Normal | CC: | jbedard | ||||
| Priority: | P2 | ||||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Diego Pino
2022-05-18 20:41:07 PDT
Created attachment 459565 [details]
Patch
This comparison: ``` option.lower().startswith(response.lower()): ``` is always true when response is an empty string. Thus, the first option is always selected instead of the default option (which is what it's expected when the use doesn't introduce any input). Pushed it at https://github.com/WebKit/WebKit/pull/764 |