URL: Rename 'IgnorePlus' argument of Decode() method into 'DoNotDecodePlus' for clarity.
[GB.UTIL.WEB] * NEW: URL: Rename 'IgnorePlus' argument of Unquote() method into 'DoNotDecodePlus' for clarity.
This commit is contained in:
parent
5fea1897fb
commit
0ea374b842
4 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
[Component]
|
||||
Key=gb.util.web
|
||||
Version=3.15.90
|
||||
Version=3.16.0
|
||||
State=1
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 11 KiB |
|
@ -1,7 +1,7 @@
|
|||
# Gambas Project File 3.0
|
||||
Title=gb.util.web
|
||||
Startup=MMain
|
||||
Version=3.15.90
|
||||
Version=3.16.0
|
||||
VersionFile=1
|
||||
TabSize=2
|
||||
Language=fr
|
||||
|
|
|
@ -30,7 +30,7 @@ Static Public Sub Quote((Path) As String) As String
|
|||
|
||||
End
|
||||
|
||||
Static Public Sub UnQuote((Path) As String, Optional IgnorePlus As Boolean) As String
|
||||
Static Public Sub Unquote((Path) As String, Optional DoNotDecodePlus As Boolean) As String
|
||||
|
||||
Dim iInd As Integer
|
||||
Dim sRes As String
|
||||
|
@ -41,7 +41,7 @@ Static Public Sub UnQuote((Path) As String, Optional IgnorePlus As Boolean) As S
|
|||
If sCar = "%" Then
|
||||
sCar = Chr$(Val("&H" & Mid$(Path, iInd + 1, 2)))
|
||||
iInd += 2
|
||||
Else If sCar = "+" And If Not IgnorePlus Then
|
||||
Else If sCar = "+" And If Not DoNotDecodePlus Then
|
||||
sCar = " "
|
||||
Endif
|
||||
sRes &= sCar
|
||||
|
|
Loading…
Reference in a new issue