valhallasw added a subscriber: valhallasw.
valhallasw added a comment.

Would it be an option to change

```
if (ref $initial eq '')
{
  $initial =~ s/([\x01-\x08\x0b\x0c\x0f-\x1f])/sprintf "\\x%02x",ord($1)/ge;
}
```

to 

```
if (ref $initial eq '')
{
  $initial =~ s/([\x01-\x08\x0b\x0c\x0f-\x1f\x5c])/sprintf "\\x%02x",ord($1)/ge;
}
```

(i.e. also escape backslashes), and then do the reverse transformation on the 
python side?

TASK DETAIL
  https://phabricator.wikimedia.org/T815

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

To: valhallasw
Cc: wikibugs-l, chasemp, Dzahn, QChris, Aklapper, Qgil, luser, Amire80, jayvdb, 
Liuxinyu970226, Petrb, ttkciar, Joe, valhallasw



_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to