LPS-37371, WAP support was disabled by default. Property wap.styling.enabled controls this.
However, that property is not considered in some places, returning WAP content even if set to false (default value).
Steps to reproduce (using Firefox) :
0) Modify Firefox to accept WAP
0.1) In the address bar in FireFox, type “about:config”.
0.2) Click the “I promise” button.
0.3) In the search bar type “network.http.accept.default”.
0.4) Double-click the setting.
0.5) In the comma-separated list add a new value of “application/vnd.wap.xhtml+xml” (without the quotes) at the end of the line. For me, I used “application/vnd.wap.xhtml+xml;q=0.5″ to lower the precedence compared to HTML.
1) Go to localhost:8080
- WAP version is returned (you can take a look to the DTD of the returned page).
- As WAP has low precedence in the accept header, and, by default, WAP is disabled (wap.styling.enabled/mobile.device.styling.wap.enabled is set to false by default), the HTML version should be returned.