[core] Stripper doesn't remove trailing " ?"

Bug #501336 reported by Stefano Rivera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ibid
Fix Released
Low
Stefano Rivera

Bug Description

Query: usage weather ?
DEBUG:plugins.stripper:Message: {'raw': u'usage weather ?', 'deaddressed': u'usage weather ?', 'clean': u'usage weather ', 'stripped': u'usage weather '}
Response: I don't know how to use weather either
Query: usage weather?
DEBUG:plugins.stripper:Message: {'raw': u'usage weather?', 'deaddressed': u'usage weather?', 'clean': u'usage weather', 'stripped': u'usage weather'}
Response: Usage: weather in <city>
Response: Usage: forecast for <city>

The stripper should remove that trailing whitespace too

Tags: core strip

Related branches

Changed in ibid:
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.