Modify

Opened 7 years ago

Closed 7 years ago

#7926 closed defect (fixed)

Backfire (10.03.1-rc2, r22711) wireless scan: improper LuCI XML escape for SSIDs

Reported by: openwrt.org-reply@… Owned by: jow
Priority: normal Milestone: Backfire 10.03.1
Component: luci Version: Backfire 10.03.1 RC2
Keywords: umlaut ssid wlan scan xml escape Cc:

Description

In output of wireless SCAN, SSIDs are not properly XML escaped. When scanning here in my region, I get following error:

XML-Verarbeitungsfehler: nicht wohlgeformt
Adresse: http://192.168.1.1/cgi-bin/luci/;stok=828dcb989ae235c2072b7fc3559791da/admin/network/wireless
Zeile Nr. 638, Spalte 5:
Gepr�tze
----^

Somebody else here uses a native character (Umlaut-A) in the SSID shown. I think it makes it somehow into the XML without a proper translate and breaks it.

Using German Firefox version 3.6.9 and openwrt-wrt54g-squashfs.bin from the RC3 package (it pretends still to be RC2) on WRT54GL.

HTH, as this is all data I have.

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by jow

  • Owner set to jow
  • Status changed from new to accepted

Indeed, guess we can only replace such chars to "?", trying to detect the local encoding is pointless.

comment:2 Changed 7 years ago by jow

  • Resolution set to fixed
  • Status changed from accepted to closed

Recent LuCI does more thorough UTF-8 validation and XML escaping, if you still be able to reproduce it, please reopen. I believe it is fixed in RC5

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.