Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5193efba authored by Irfan Sheriff's avatar Irfan Sheriff Committed by Android Git Automerger
Browse files

am 4bfa1e99: Merge "Fix handling escaped chars in ssid" into jb-mr1-dev

* commit '4bfa1e99':
  Fix handling escaped chars in ssid
parents 0b728244 4bfa1e99
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -89,21 +89,27 @@ public class WifiSsid implements Parcelable {
                    switch(asciiEncoded.charAt(i)) {
                        case '\\':
                            octets.write('\\');
                            i++;
                            break;
                        case '"':
                            octets.write('"');
                            i++;
                            break;
                        case 'n':
                            octets.write('\n');
                            i++;
                            break;
                        case 'r':
                            octets.write('\r');
                            i++;
                            break;
                        case 't':
                            octets.write('\t');
                            i++;
                            break;
                        case 'e':
                            octets.write(27); //escape char
                            i++;
                            break;
                        case 'x':
                            i++;