eb8be973c7982fe3ece0aeaeca379c3b3cdced0c |
|
12-Oct-2010 |
Bjorn Bringert <bringert@android.com> |
Make fields in WebAddress private, add getters/setters Change-Id: Iceaf3d648289344e53c37273f7324a79676fbef7
/frameworks/base/core/java/android/net/WebAddress.java
|
582deec1f3c8f51b431bb2ad685c9217ffd9eaad |
|
06-Sep-2010 |
Steve Block <steveblock@google.com> |
Fixes a problem with URL parsing when the host ends with a dot The WebAddress class provides a lenient parser for URLs. Currently, it identifies the host portion with the regex [<chars>]+(\.[<chars>]+)* where <chars> is the set of characters valid for the host name. This pattern excludes the case where the host ends with a dot, which is valid possibility. As a result, any trailing dot is pushed into the path component. Since we add a leading slash to the path if one is missing, the result is a path that begins with '/.'. This fix changes the host regex to [<chars>]+[<chars>\.]* which allows trailing dots and fixes the problem. Bug: 2337042 Change-Id: I310512531787e0f742988f5d815ad944fd39e059
/frameworks/base/core/java/android/net/WebAddress.java
|
9253446922d925f6a5453b60d539beed292921a7 |
|
31-Mar-2010 |
Patrick Scott <phanna@android.com> |
Use case insensitive matching. Use the lowercase version of the protocol. Bug: 2560217 Change-Id: Ibfadf4ba363968df9caf22c9ab36f666ee44d1db
/frameworks/base/core/java/android/net/WebAddress.java
|
2257440f4b261cfc3251a6fc0f3cbd1fa1e548b1 |
|
08-Mar-2010 |
Steve Block <steveblock@google.com> |
Updates WebAddress to ignore the colon after the host component of a URL if no port is specified Currently, the regex used to extract the port matches ':' followed by 1 or more digits. This means that when passed a malformed URL of type <host>:<path>, no match is made for the port and the ':' is matched as part of the path. Since the handling of the path adds a leading '/' where absent (see http://b/1011602), this leads to the URL being converted to <host>/:<path>. This change updates the port regex to match ':' followed by zero or more digits. This means that the ':' is always matched, so it does not leak into the path and the result is <host><path>. This matches the behavior of desktop browsers. Bug: 2494876 Change-Id: I34b47c8187cf03aa7674c14cd6593de53dce3169
/frameworks/base/core/java/android/net/WebAddress.java
|
2269d1572e5fcfb725ea55f5764d8c3280d69f6d |
|
25-Feb-2010 |
Dianne Hackborn <hackbod@google.com> |
Re-arrange android-common so framework no longer links with it. This is the framework part, moving classes around so the framework no longer needs to link to android-common. Makes some APIs public, others that didn't need to be public are private in the framework, some small things are copied.
/frameworks/base/core/java/android/net/WebAddress.java
|
fa4039e4fc680920bc53528c4a76e09210f1dcd6 |
|
16-Feb-2010 |
Patrick Scott <phanna@android.com> |
Do not include the fragement identifier in the path. Bug: 2435741
/frameworks/base/core/java/android/net/WebAddress.java
|
51c02dbf75fede9b2829af5b821f10e0bc2af124 |
|
11-Feb-2010 |
Shimeng (Simon) Wang <swang@google.com> |
Enhance URL regular expression to match more Unicode chars. Enhance URL regular expression to match legal one byte Unicode characters in Internationalized Resource Identifiers as detailed in RFC 3987. Specifically two byte Unicode characters are not included. Not all things in RFC 3987 is implemented, this is just an enhancement for recognizing more common used one byte Unicode characters. This change helps Browser address bar identify more valid URL without scheme typed in, such as 현금영수증.kr make-iana-tld-pattern.py is modified to contain only Top Level Domain regular expression generation. Other parts of WEB_URL pattern are in solely in Patters.java for better consistency and maintenance.
/frameworks/base/core/java/android/net/WebAddress.java
|
78cf04f6585a363a0c9650a3ddc66febe2c6cc80 |
|
23-Sep-2009 |
Lorenzo Colitti <lorenzo@google.com> |
Support IPv6 literal URLs, e.g., http://[2001:4860:b004::68]/ as per RFC 3896 section 3.2.2. Change-Id: I6166753fac2c141440fc3c860ab644b29b188d76
/frameworks/base/core/java/android/net/WebAddress.java
|
135e24c294884e009766e5b269424fcd07d83646 |
|
27-Apr-2009 |
Patrick Scott <phanna@android.com> |
Add '_' to the allowable characters in a host name. This does not fix the underscore problem in host names but it moves it from a Browser issue to a libc issue.
/frameworks/base/core/java/android/net/WebAddress.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/net/WebAddress.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/net/WebAddress.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/net/WebAddress.java
|