Change vzw provisioning url from get to post

Do this by injecting an auto-submitting form in the data to be
interpreted as a html doc by the browser.

bug:11168810
Change-Id: Ifd33e1c3c7f9f40b6add39e446e6a7d7cde22549
This commit is contained in:
Robert Greenwalt 2013-10-17 14:33:13 -07:00
parent 1c91a0d574
commit 72ef240d1c
13 changed files with 26 additions and 39 deletions

View file

@ -22,7 +22,6 @@
<resources>
<!-- Verizon -->
<string name="mobile_provisioning_url">
http://quickaccess.verizonwireless.com/bbportal/oem/start.do?mdn=%3$s&amp;oem=NEXT&amp;iccid=%1$s&amp;imei=%2$s
</string>
<string name="mobile_provisioning_url">data:text/html,&lt;html&gt;&lt;body onLoad=\&quot;document.getElementById(\&apos;form\&apos;).submit()\&quot;&gt;&lt;form id=\&quot;form\&quot; target=\&quot;_self\&quot; method=\&quot;POST\&quot; action=\&quot;https://quickaccess.verizonwireless.com/bbportal/oem/start.do\&quot;&gt;&lt;input id=\&quot;mdn\&quot; name=\&quot;MDN\&quot; type=\&quot;hidden\&quot; value=\&quot;%3$s\&quot;&gt;&lt;input id=\&quot;oem\&quot; name=\&quot;oem\&quot; type=\&quot;hidden\&quot; value=\&quot;NEXT\&quot;&gt;&lt;input id=\&quot;iccid\&quot; name=\&quot;iccid\&quot; type=\&quot;hidden\&quot; value=\&quot;%1$s\&quot;&gt;&lt;input id=\&quot;imei\&quot; name=\&quot;imei\&quot; type=\&quot;hidden\&quot; value=\&quot;%2$s\&quot;&gt;&lt;input type=\&quot;submit\&quot;&gt;&lt;/form&gt;&lt;/body&gt;&lt;html&gt;</string>
</resources>

View file

@ -22,7 +22,6 @@
<resources>
<!-- Verizon -->
<string name="mobile_provisioning_url">
http://quickaccess.verizonwireless.com/bbportal/oem/start.do?mdn=%3$s&amp;oem=NEXT&amp;iccid=%1$s&amp;imei=%2$s
</string>
<string name="mobile_provisioning_url">data:text/html,&lt;html&gt;&lt;body onLoad=\&quot;document.getElementById(\&apos;form\&apos;).submit()\&quot;&gt;&lt;form id=\&quot;form\&quot; target=\&quot;_self\&quot; method=\&quot;POST\&quot; action=\&quot;https://quickaccess.verizonwireless.com/bbportal/oem/start.do\&quot;&gt;&lt;input id=\&quot;mdn\&quot; name=\&quot;MDN\&quot; type=\&quot;hidden\&quot; value=\&quot;%3$s\&quot;&gt;&lt;input id=\&quot;oem\&quot; name=\&quot;oem\&quot; type=\&quot;hidden\&quot; value=\&quot;NEXT\&quot;&gt;&lt;input id=\&quot;iccid\&quot; name=\&quot;iccid\&quot; type=\&quot;hidden\&quot; value=\&quot;%1$s\&quot;&gt;&lt;input id=\&quot;imei\&quot; name=\&quot;imei\&quot; type=\&quot;hidden\&quot; value=\&quot;%2$s\&quot;&gt;&lt;input type=\&quot;submit\&quot;&gt;&lt;/form&gt;&lt;/body&gt;&lt;html&gt;</string>
</resources>

View file

@ -22,7 +22,6 @@
<resources>
<!-- Verizon -->
<string name="mobile_provisioning_url">
http://quickaccess.verizonwireless.com/bbportal/oem/start.do?mdn=%3$s&amp;oem=NEXT&amp;iccid=%1$s&amp;imei=%2$s
</string>
<string name="mobile_provisioning_url">data:text/html,&lt;html&gt;&lt;body onLoad=\&quot;document.getElementById(\&apos;form\&apos;).submit()\&quot;&gt;&lt;form id=\&quot;form\&quot; target=\&quot;_self\&quot; method=\&quot;POST\&quot; action=\&quot;https://quickaccess.verizonwireless.com/bbportal/oem/start.do\&quot;&gt;&lt;input id=\&quot;mdn\&quot; name=\&quot;MDN\&quot; type=\&quot;hidden\&quot; value=\&quot;%3$s\&quot;&gt;&lt;input id=\&quot;oem\&quot; name=\&quot;oem\&quot; type=\&quot;hidden\&quot; value=\&quot;NEXT\&quot;&gt;&lt;input id=\&quot;iccid\&quot; name=\&quot;iccid\&quot; type=\&quot;hidden\&quot; value=\&quot;%1$s\&quot;&gt;&lt;input id=\&quot;imei\&quot; name=\&quot;imei\&quot; type=\&quot;hidden\&quot; value=\&quot;%2$s\&quot;&gt;&lt;input type=\&quot;submit\&quot;&gt;&lt;/form&gt;&lt;/body&gt;&lt;html&gt;</string>
</resources>

View file

@ -22,7 +22,6 @@
<resources>
<!-- Verizon -->
<string name="mobile_provisioning_url">
http://quickaccess.verizonwireless.com/bbportal/oem/start.do?mdn=%3$s&amp;oem=NEXT&amp;iccid=%1$s&amp;imei=%2$s
</string>
<string name="mobile_provisioning_url">data:text/html,&lt;html&gt;&lt;body onLoad=\&quot;document.getElementById(\&apos;form\&apos;).submit()\&quot;&gt;&lt;form id=\&quot;form\&quot; target=\&quot;_self\&quot; method=\&quot;POST\&quot; action=\&quot;https://quickaccess.verizonwireless.com/bbportal/oem/start.do\&quot;&gt;&lt;input id=\&quot;mdn\&quot; name=\&quot;MDN\&quot; type=\&quot;hidden\&quot; value=\&quot;%3$s\&quot;&gt;&lt;input id=\&quot;oem\&quot; name=\&quot;oem\&quot; type=\&quot;hidden\&quot; value=\&quot;NEXT\&quot;&gt;&lt;input id=\&quot;iccid\&quot; name=\&quot;iccid\&quot; type=\&quot;hidden\&quot; value=\&quot;%1$s\&quot;&gt;&lt;input id=\&quot;imei\&quot; name=\&quot;imei\&quot; type=\&quot;hidden\&quot; value=\&quot;%2$s\&quot;&gt;&lt;input type=\&quot;submit\&quot;&gt;&lt;/form&gt;&lt;/body&gt;&lt;html&gt;</string>
</resources>

View file

@ -22,7 +22,6 @@
<resources>
<!-- Verizon -->
<string name="mobile_provisioning_url">
http://quickaccess.verizonwireless.com/bbportal/oem/start.do?mdn=%3$s&amp;oem=NEXT&amp;iccid=%1$s&amp;imei=%2$s
</string>
<string name="mobile_provisioning_url">data:text/html,&lt;html&gt;&lt;body onLoad=\&quot;document.getElementById(\&apos;form\&apos;).submit()\&quot;&gt;&lt;form id=\&quot;form\&quot; target=\&quot;_self\&quot; method=\&quot;POST\&quot; action=\&quot;https://quickaccess.verizonwireless.com/bbportal/oem/start.do\&quot;&gt;&lt;input id=\&quot;mdn\&quot; name=\&quot;MDN\&quot; type=\&quot;hidden\&quot; value=\&quot;%3$s\&quot;&gt;&lt;input id=\&quot;oem\&quot; name=\&quot;oem\&quot; type=\&quot;hidden\&quot; value=\&quot;NEXT\&quot;&gt;&lt;input id=\&quot;iccid\&quot; name=\&quot;iccid\&quot; type=\&quot;hidden\&quot; value=\&quot;%1$s\&quot;&gt;&lt;input id=\&quot;imei\&quot; name=\&quot;imei\&quot; type=\&quot;hidden\&quot; value=\&quot;%2$s\&quot;&gt;&lt;input type=\&quot;submit\&quot;&gt;&lt;/form&gt;&lt;/body&gt;&lt;html&gt;</string>
</resources>

View file

@ -22,7 +22,6 @@
<resources>
<!-- Verizon -->
<string name="mobile_provisioning_url">
http://quickaccess.verizonwireless.com/bbportal/oem/start.do?mdn=%3$s&amp;oem=NEXT&amp;iccid=%1$s&amp;imei=%2$s
</string>
<string name="mobile_provisioning_url">data:text/html,&lt;html&gt;&lt;body onLoad=\&quot;document.getElementById(\&apos;form\&apos;).submit()\&quot;&gt;&lt;form id=\&quot;form\&quot; target=\&quot;_self\&quot; method=\&quot;POST\&quot; action=\&quot;https://quickaccess.verizonwireless.com/bbportal/oem/start.do\&quot;&gt;&lt;input id=\&quot;mdn\&quot; name=\&quot;MDN\&quot; type=\&quot;hidden\&quot; value=\&quot;%3$s\&quot;&gt;&lt;input id=\&quot;oem\&quot; name=\&quot;oem\&quot; type=\&quot;hidden\&quot; value=\&quot;NEXT\&quot;&gt;&lt;input id=\&quot;iccid\&quot; name=\&quot;iccid\&quot; type=\&quot;hidden\&quot; value=\&quot;%1$s\&quot;&gt;&lt;input id=\&quot;imei\&quot; name=\&quot;imei\&quot; type=\&quot;hidden\&quot; value=\&quot;%2$s\&quot;&gt;&lt;input type=\&quot;submit\&quot;&gt;&lt;/form&gt;&lt;/body&gt;&lt;html&gt;</string>
</resources>

View file

@ -22,7 +22,6 @@
<resources>
<!-- Verizon -->
<string name="mobile_provisioning_url">
http://quickaccess.verizonwireless.com/bbportal/oem/start.do?mdn=%3$s&amp;oem=NEXT&amp;iccid=%1$s&amp;imei=%2$s
</string>
<string name="mobile_provisioning_url">data:text/html,&lt;html&gt;&lt;body onLoad=\&quot;document.getElementById(\&apos;form\&apos;).submit()\&quot;&gt;&lt;form id=\&quot;form\&quot; target=\&quot;_self\&quot; method=\&quot;POST\&quot; action=\&quot;https://quickaccess.verizonwireless.com/bbportal/oem/start.do\&quot;&gt;&lt;input id=\&quot;mdn\&quot; name=\&quot;MDN\&quot; type=\&quot;hidden\&quot; value=\&quot;%3$s\&quot;&gt;&lt;input id=\&quot;oem\&quot; name=\&quot;oem\&quot; type=\&quot;hidden\&quot; value=\&quot;NEXT\&quot;&gt;&lt;input id=\&quot;iccid\&quot; name=\&quot;iccid\&quot; type=\&quot;hidden\&quot; value=\&quot;%1$s\&quot;&gt;&lt;input id=\&quot;imei\&quot; name=\&quot;imei\&quot; type=\&quot;hidden\&quot; value=\&quot;%2$s\&quot;&gt;&lt;input type=\&quot;submit\&quot;&gt;&lt;/form&gt;&lt;/body&gt;&lt;html&gt;</string>
</resources>

View file

@ -22,7 +22,6 @@
<resources>
<!-- Verizon -->
<string name="mobile_provisioning_url">
http://quickaccess.verizonwireless.com/bbportal/oem/start.do?mdn=%3$s&amp;oem=NEXT&amp;iccid=%1$s&amp;imei=%2$s
</string>
<string name="mobile_provisioning_url">data:text/html,&lt;html&gt;&lt;body onLoad=\&quot;document.getElementById(\&apos;form\&apos;).submit()\&quot;&gt;&lt;form id=\&quot;form\&quot; target=\&quot;_self\&quot; method=\&quot;POST\&quot; action=\&quot;https://quickaccess.verizonwireless.com/bbportal/oem/start.do\&quot;&gt;&lt;input id=\&quot;mdn\&quot; name=\&quot;MDN\&quot; type=\&quot;hidden\&quot; value=\&quot;%3$s\&quot;&gt;&lt;input id=\&quot;oem\&quot; name=\&quot;oem\&quot; type=\&quot;hidden\&quot; value=\&quot;NEXT\&quot;&gt;&lt;input id=\&quot;iccid\&quot; name=\&quot;iccid\&quot; type=\&quot;hidden\&quot; value=\&quot;%1$s\&quot;&gt;&lt;input id=\&quot;imei\&quot; name=\&quot;imei\&quot; type=\&quot;hidden\&quot; value=\&quot;%2$s\&quot;&gt;&lt;input type=\&quot;submit\&quot;&gt;&lt;/form&gt;&lt;/body&gt;&lt;html&gt;</string>
</resources>

View file

@ -22,7 +22,6 @@
<resources>
<!-- Verizon -->
<string name="mobile_provisioning_url">
http://quickaccess.verizonwireless.com/bbportal/oem/start.do?mdn=%3$s&amp;oem=NEXT&amp;iccid=%1$s&amp;imei=%2$s
</string>
<string name="mobile_provisioning_url">data:text/html,&lt;html&gt;&lt;body onLoad=\&quot;document.getElementById(\&apos;form\&apos;).submit()\&quot;&gt;&lt;form id=\&quot;form\&quot; target=\&quot;_self\&quot; method=\&quot;POST\&quot; action=\&quot;https://quickaccess.verizonwireless.com/bbportal/oem/start.do\&quot;&gt;&lt;input id=\&quot;mdn\&quot; name=\&quot;MDN\&quot; type=\&quot;hidden\&quot; value=\&quot;%3$s\&quot;&gt;&lt;input id=\&quot;oem\&quot; name=\&quot;oem\&quot; type=\&quot;hidden\&quot; value=\&quot;NEXT\&quot;&gt;&lt;input id=\&quot;iccid\&quot; name=\&quot;iccid\&quot; type=\&quot;hidden\&quot; value=\&quot;%1$s\&quot;&gt;&lt;input id=\&quot;imei\&quot; name=\&quot;imei\&quot; type=\&quot;hidden\&quot; value=\&quot;%2$s\&quot;&gt;&lt;input type=\&quot;submit\&quot;&gt;&lt;/form&gt;&lt;/body&gt;&lt;html&gt;</string>
</resources>

View file

@ -22,7 +22,6 @@
<resources>
<!-- Verizon -->
<string name="mobile_provisioning_url">
http://quickaccess.verizonwireless.com/bbportal/oem/start.do?mdn=%3$s&amp;oem=NEXT&amp;iccid=%1$s&amp;imei=%2$s
</string>
<string name="mobile_provisioning_url">data:text/html,&lt;html&gt;&lt;body onLoad=\&quot;document.getElementById(\&apos;form\&apos;).submit()\&quot;&gt;&lt;form id=\&quot;form\&quot; target=\&quot;_self\&quot; method=\&quot;POST\&quot; action=\&quot;https://quickaccess.verizonwireless.com/bbportal/oem/start.do\&quot;&gt;&lt;input id=\&quot;mdn\&quot; name=\&quot;MDN\&quot; type=\&quot;hidden\&quot; value=\&quot;%3$s\&quot;&gt;&lt;input id=\&quot;oem\&quot; name=\&quot;oem\&quot; type=\&quot;hidden\&quot; value=\&quot;NEXT\&quot;&gt;&lt;input id=\&quot;iccid\&quot; name=\&quot;iccid\&quot; type=\&quot;hidden\&quot; value=\&quot;%1$s\&quot;&gt;&lt;input id=\&quot;imei\&quot; name=\&quot;imei\&quot; type=\&quot;hidden\&quot; value=\&quot;%2$s\&quot;&gt;&lt;input type=\&quot;submit\&quot;&gt;&lt;/form&gt;&lt;/body&gt;&lt;html&gt;</string>
</resources>

View file

@ -22,7 +22,6 @@
<resources>
<!-- Verizon -->
<string name="mobile_provisioning_url">
http://quickaccess.verizonwireless.com/bbportal/oem/start.do?mdn=%3$s&amp;oem=NEXT&amp;iccid=%1$s&amp;imei=%2$s
</string>
<string name="mobile_provisioning_url">data:text/html,&lt;html&gt;&lt;body onLoad=\&quot;document.getElementById(\&apos;form\&apos;).submit()\&quot;&gt;&lt;form id=\&quot;form\&quot; target=\&quot;_self\&quot; method=\&quot;POST\&quot; action=\&quot;https://quickaccess.verizonwireless.com/bbportal/oem/start.do\&quot;&gt;&lt;input id=\&quot;mdn\&quot; name=\&quot;MDN\&quot; type=\&quot;hidden\&quot; value=\&quot;%3$s\&quot;&gt;&lt;input id=\&quot;oem\&quot; name=\&quot;oem\&quot; type=\&quot;hidden\&quot; value=\&quot;NEXT\&quot;&gt;&lt;input id=\&quot;iccid\&quot; name=\&quot;iccid\&quot; type=\&quot;hidden\&quot; value=\&quot;%1$s\&quot;&gt;&lt;input id=\&quot;imei\&quot; name=\&quot;imei\&quot; type=\&quot;hidden\&quot; value=\&quot;%2$s\&quot;&gt;&lt;input type=\&quot;submit\&quot;&gt;&lt;/form&gt;&lt;/body&gt;&lt;html&gt;</string>
</resources>

View file

@ -22,7 +22,6 @@
<resources>
<!-- Verizon -->
<string name="mobile_provisioning_url">
http://quickaccess.verizonwireless.com/bbportal/oem/start.do?mdn=%3$s&amp;oem=NEXT&amp;iccid=%1$s&amp;imei=%2$s
</string>
<string name="mobile_provisioning_url">data:text/html,&lt;html&gt;&lt;body onLoad=\&quot;document.getElementById(\&apos;form\&apos;).submit()\&quot;&gt;&lt;form id=\&quot;form\&quot; target=\&quot;_self\&quot; method=\&quot;POST\&quot; action=\&quot;https://quickaccess.verizonwireless.com/bbportal/oem/start.do\&quot;&gt;&lt;input id=\&quot;mdn\&quot; name=\&quot;MDN\&quot; type=\&quot;hidden\&quot; value=\&quot;%3$s\&quot;&gt;&lt;input id=\&quot;oem\&quot; name=\&quot;oem\&quot; type=\&quot;hidden\&quot; value=\&quot;NEXT\&quot;&gt;&lt;input id=\&quot;iccid\&quot; name=\&quot;iccid\&quot; type=\&quot;hidden\&quot; value=\&quot;%1$s\&quot;&gt;&lt;input id=\&quot;imei\&quot; name=\&quot;imei\&quot; type=\&quot;hidden\&quot; value=\&quot;%2$s\&quot;&gt;&lt;input type=\&quot;submit\&quot;&gt;&lt;/form&gt;&lt;/body&gt;&lt;html&gt;</string>
</resources>

View file

@ -22,7 +22,6 @@
<resources>
<!-- Verizon -->
<string name="mobile_provisioning_url">
http://quickaccess.verizonwireless.com/bbportal/oem/start.do?mdn=%3$s&amp;oem=NEXT&amp;iccid=%1$s&amp;imei=%2$s
</string>
<string name="mobile_provisioning_url">data:text/html,&lt;html&gt;&lt;body onLoad=\&quot;document.getElementById(\&apos;form\&apos;).submit()\&quot;&gt;&lt;form id=\&quot;form\&quot; target=\&quot;_self\&quot; method=\&quot;POST\&quot; action=\&quot;https://quickaccess.verizonwireless.com/bbportal/oem/start.do\&quot;&gt;&lt;input id=\&quot;mdn\&quot; name=\&quot;MDN\&quot; type=\&quot;hidden\&quot; value=\&quot;%3$s\&quot;&gt;&lt;input id=\&quot;oem\&quot; name=\&quot;oem\&quot; type=\&quot;hidden\&quot; value=\&quot;NEXT\&quot;&gt;&lt;input id=\&quot;iccid\&quot; name=\&quot;iccid\&quot; type=\&quot;hidden\&quot; value=\&quot;%1$s\&quot;&gt;&lt;input id=\&quot;imei\&quot; name=\&quot;imei\&quot; type=\&quot;hidden\&quot; value=\&quot;%2$s\&quot;&gt;&lt;input type=\&quot;submit\&quot;&gt;&lt;/form&gt;&lt;/body&gt;&lt;html&gt;</string>
</resources>