logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

uri_urn - URI utilities, URN scheme

Bugs, Ideas, Feedback

       This document, and the package it describes, will undoubtedly contain bugs and  other  problems.   Please
       report  such  in  the category uri of the TcllibTrackers [http://core.tcl.tk/tcllib/reportlist].  Please
       also report any ideas for enhancements you may have for either package and/or documentation.

       When proposing code changes, please provide unifieddiffs, i.e the output of diff-u.

       Note further that attachments are strongly preferred over inlined patches. Attachments  can  be  made  by
       going  to the Edit form of the ticket immediately after its creation, and then using the left-most button
       in the secondary navigation bar.

Category

       Networking

tcllib                                                1.0.4                                        uri_urn(3tcl)

Commands

uri::urn::quoteurl
              This command quotes the characters disallowed by the urn scheme (per RFC 2141 sec2.2) in  the  url
              and returns the modified url as its result.

       uri::urn::unquoteurl
              This  commands performs the reverse of ::uri::urn::quote. It takes an urn url, removes the quoting
              from all disallowed characters, and returns the modified urls as its result.

Description

       This  package  provides two commands to quote and unquote the disallowed characters for url using the urn
       scheme, registers the scheme  with  the  package  uri,  and  provides  internal  helpers  which  will  be
       automatically  used  by the commands uri::split and uri::join of package uri to handle urls using the urn
       scheme.

Keywords

       rfc 2141, uri, url, urn

Name

       uri_urn - URI utilities, URN scheme

Synopsis

       package require Tcl8.59

       package require uri::urn?1.0.4?uri::urn::quoteurluri::urn::unquoteurl

________________________________________________________________________________________________________________

See Also