Hi! I have found out that some smartphones generate wifi QR-codes having different order of attributes. Something like:
WIFI:T:WPA;P:<key>;S:<ssid>;
So the program crashes. I have replaced the regular expression in qrtools.py by:
WIFI:(?:;|S:([^;]*);|T:([^;]*);|P:([^;]*);|H:([^;]*);)+
Now it works. Attributes may be in random order, and may be missing as well.
Hi! I have found out that some smartphones generate wifi QR-codes having different order of attributes. Something like:
WIFI: T:WPA;P: <key>;S: <ssid>;
So the program crashes. I have replaced the regular expression in qrtools.py by:
WIFI: (?:;|S: ([^;]*) ;|T:([^ ;]*);|P: ([^;]*) ;|H:([^ ;]*);)+
Now it works. Attributes may be in random order, and may be missing as well.