The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
symbols in WEBLINK pls
Author Message
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #7
RE: symbols in WEBLINK pls
it's not a sphere fault, but an HTML rule. All URLs on the entire internet must follow the HTML rules, which are followed by all browsers too
http://www.w3schools.com/tags/ref_urlencode.asp

I cant remember exactly, but in a short answer, it cant have symbols or whitespaces. Only a few symbols like &, ?, % and = are allowed, all the others symbols must be converted to their respective HTML code, eg:

! = %21
' = %27
etc

so using your example
Code:
SRC.WEBLINK chat.efnet.org:9090/?nick=<FINDLAYER(29).NAME>&channels=%23<tag.army>warroom&Login=Login
if the player name have any whitespaces it will break the URL, because URL can't have whitespaces. You must create another function to filter <FINDLAYER(29).NAME> doing all these conversions, turning whitespaces into %20, the ' symbol into %27, etc
11-28-2015 02:17 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
symbols in WEBLINK pls - x77x - 11-27-2015, 09:28 AM
RE: symbols in WEBLINK pls - Kanibal - 11-27-2015, 11:11 AM
RE: symbols in WEBLINK pls - x77x - 11-27-2015, 12:41 PM
RE: symbols in WEBLINK pls - Kanibal - 11-28-2015, 03:12 AM
RE: symbols in WEBLINK pls - x77x - 11-28-2015, 03:25 AM
RE: symbols in WEBLINK pls - Kanibal - 11-28-2015, 03:28 AM
RE: symbols in WEBLINK pls - Coruja - 11-28-2015 02:17 PM
RE: symbols in WEBLINK pls - x77x - 11-29-2015, 03:48 AM
RE: symbols in WEBLINK pls - Coruja - 11-29-2015, 06:32 AM
RE: symbols in WEBLINK pls - x77x - 11-29-2015, 08:15 AM
RE: symbols in WEBLINK pls - x77x - 11-30-2015, 08:11 AM
RE: symbols in WEBLINK pls - darksun84 - 11-30-2015, 07:56 PM
RE: symbols in WEBLINK pls - x77x - 12-01-2015, 04:41 AM
RE: symbols in WEBLINK pls - XuN - 12-01-2015, 06:42 PM
RE: symbols in WEBLINK pls - x77x - 12-02-2015, 04:27 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)