Making WordPress.org

Opened 7 years ago

Closed 7 years ago

#3161 closed defect (bug) (fixed)

Old Opera outdated in Browse Happy

Reported by: rarst's profile Rarst Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: Priority: normal
Component: Browse Happy Keywords:
Cc:

Description

The latest "old" Opera browser security release is 12.18, Browse Happy response reports 12.11 as current and mistakenly marks it secure:

http://api.wordpress.org/core/browse-happy/1.1/?useragent=Opera/9.80%20(Windows%20NT%206.1;%20WOW64)%20Presto/2.12.388%20Version/12.17

array:9 [
  "name" => "Opera"
  "version" => "12.17"
  "platform" => "Windows"
  "update_url" => "https://www.opera.com/"
  "img_src" => "http://s.w.org/images/browsers/opera.png?1"
  "img_src_ssl" => "https://s.w.org/images/browsers/opera.png?1"
  "current_version" => "12.11"
  "upgrade" => false
  "insecure" => false
]

At the very least needs to be bumped to 12.18.

Not sure is there is intent on detecting "new" Opera separately, which is essentially different browser.

Change History (3)

#1 @SergeyBiryukov
7 years ago

Last updated in https://code.trac.wordpress.org/changeset/231.

I guess it should be bumped to 12.18 (the latest security release in 12.x branch). Older versions should be marked as insecure.

Current versions of the "new" Opera appear to be 42 on mobile (detected as Mobile Safari) and 47 on desktop (detected as Chrome). We could look into improving this in another ticket.

#3 @SergeyBiryukov
7 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 5961:

Browse Happy API: Mark versions of Opera earlier than 12.18 as insecure.

Add Opera 12.18 user-agent string to test data.

Fixes #3161.

Note: See TracTickets for help on using tickets.