mirror of
https://github.com/CFC-Servers/cfc_cl_http_whitelist.git
synced 2025-03-04 03:03:18 -05:00
use concat and not string.format
This commit is contained in:
parent
db7ca1bb17
commit
c6d93784d0
@ -38,7 +38,7 @@ function CFCHTTP.GetRedirectURL( url )
|
||||
url = string.Replace( url, "\n", "" )
|
||||
url = string.Trim( url )
|
||||
local b64 = util.Base64Encode( url, true )
|
||||
return string.format( "https://gmhttp.pages.dev/redirect?url=%s", b64 )
|
||||
return "https://gmhttp.pages.dev/redirect?url=" .. b64
|
||||
end
|
||||
|
||||
---@param text string
|
||||
|
Loading…
Reference in New Issue
Block a user