A typed "++" will be searched as "+" on all search engines

Bug #1652292 reported by Emanuele Sorce
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webbrowser-app (Ubuntu)
Fix Released
High
Olivier Tilloy

Bug Description

I am on a vegetahd, rc proposed. DuckDuckGo is my default search engine. If I search "++" or any string like "C++ cout" the "++" is changed into only "+"

Related branches

Revision history for this message
Olivier Tilloy (osomon) wrote :

It’s not just duckduckgo, it’s an app-wide issue, as the second "+" is truncated for all search engines.

summary: - A typed "++" will be searched as "+" on DuckDuckGo
+ A typed "++" will be searched as "+" on all search engines
Changed in webbrowser-app (Ubuntu):
status: New → Confirmed
Olivier Tilloy (osomon)
Changed in webbrowser-app (Ubuntu):
importance: Undecided → High
assignee: nobody → Olivier Tilloy (osomon)
status: Confirmed → In Progress
Revision history for this message
Emanuele Sorce (tronfortytwo) wrote :

Maybe it's a already known information but I see that every string composed of an x number of '+' is searched as only "+". For example "+++" or "+++++++" or "++++++++++", them all are searched only as "+"

Revision history for this message
Olivier Tilloy (osomon) wrote :

Thanks Emanuele for the report and the investigation. I have submitted a trivial patch that fixes the issue, see the branch attached if you’re interested in the details.

Revision history for this message
Emanuele Sorce (tronfortytwo) wrote :

Thanks you for your fast fix!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package webbrowser-app - 0.23+17.04.20170110-0ubuntu1

---------------
webbrowser-app (0.23+17.04.20170110-0ubuntu1) zesty; urgency=medium

  * Include only webbrowser-app data in the snap (no webapp-container)
  * Use the upstream QtSystemInfo instead of embedding an old copy of
    its source code
  * Stop using deprecated WebView APIs (LP: #1651173)
  * Stop using a deprecated API in the webapp container (LP: #1567656)
  * Escape all HTML entities in search queries (LP: #1652292)

 -- Olivier Tilloy <email address hidden> Tue, 10 Jan 2017 09:17:30 +0000

Changed in webbrowser-app (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.