F5 Sites
  • F5.com
  • F5 Labs
  • MyF5
  • NGINX
  • Partner Central
  • Education Services Portal (ESP)
Contact
  • Under Attack?
  • F5 Support
  • DevCentral Support
  • F5 Sales
  • NGINX Sales
  • F5 Professional Services
Open Side Menu
Skip to contentBrand Logo
Forums
CrowdSRC
Articles
GroupsEventsSuggestionsHow Do I...?
RegisterSign In
  1. DevCentral
  2. Forums
  3. Technical Forum

Forum Discussion

Mack_Hanson_107's avatar
Mack_Hanson_107
Icon for Nimbostratus rankNimbostratus
18 years ago

URLEncode / URLDecode

Is there a function I can use to URLencode a string, and URLdecode a string?

At the moment I'm doing a series of string maps, but I wonder if there is a better way.

ex.

set newstring [string map {%3D =} $string_that_is_urlencoded ]

1 Reply

  • Joe_Pruitt's avatar
    Joe_Pruitt
    18 years ago
    How about

     

     

    URI::encode (Click here)

     

    and URI::decode (Click here)

     

     

     

    -Joe

SSO Login Update Coming to DevCentral

DevCentral News
announcement

Kevin - June 2026 Featured F5er

DevCentral News
announcement
event

Tyler - May 2026 Featured Member

DevCentral News
announcement
event

Recent Discussions

Related Content
  • [ASM] -  content type : x-www-form-urlencoded ?
    1 year ago
    Blue_whale
  • Bruteforce configuration issue with x-www-urlencoded
    7 years ago
    inter84_376679
  • Question/Advice on iRule Remediating the Telerik (Unsafe Reflection Vulnerability (CVE-2025-3600)
    4 months ago
    Maxim_Taskov
  • Re: APM SAML IdP - SP Issuer Extraction
    7 years ago
    Kris__109062
  • SURFsecureID Second Factor Only (SFO) Authentication
    9 years ago
    Niels_van_Sluis
Under Attack? F5 Will Help You.
Contacting F5 Support?

DevCentral Quicklinks

* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com

Discover DevCentral Connects

* Podcasts
* Social Channels
* Video Streaming

GitHub Awesome-F5

ABOUT DEVCENTRAL

DevCentral NewsTechnical ForumTechnical ArticlesTechnical CrowdSRCCommunity GuidelinesDevCentral EULAGet a Developer Lab LicenseBecome a DevCentral MVP

RESOURCES

Product DocumentationWhite PapersGlossaryCustomer StoriesWebinarsFree Online CoursesTraining & Certification

SUPPORT

Manage SubscriptionsProfessional ServicesCreate a Service RequestSoftware DownloadsSupport Portal

PARTNERS

Find a Reseller PartnerTechnology AlliancesBecome an F5 PartnerLogin to Partner Central

©2026 F5, Inc. All rights reserved.
TrademarksPoliciesPrivacyCalifornia PrivacyDo Not Sell My Personal Information