Bug #854

avatar

server properties: PREFIX is parsed incorrectly

Added by Ondrej Hošek 3980 days ago. Updated 3972 days ago.

Status:Closed Start:06/25/2013
Priority:Normal Due date:
Assigned to:avatarOndrej Hošek % Done:

100%

Category:- Spent time: -
Target version:-
Votes: 0

Description

The format of the value of the PREFIX server property is (modes)prefixes, e.g.
(ov)@+
or
(qaohv)~&@&+

The current code splits the string at the ), but doesn't skip the initial (. Therefore, it returns null in all valid cases because the mode string and the prefix string aren't equally long.

Associated revisions

Revision da5f4bcd15abd79bb006ac7cca0f6a4b5b00fa0c
Added by Ondrej Hošek 3980 days ago

Fix PREFIX misparse (closes #854).

Not skipping the leading '(' when splitting on the ')' always makes the modes
list longer than the prefix list, which leads to an incorrect null return value.

History

Updated by Ondrej Hošek 3972 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF