Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
7ea4adae
Commit
7ea4adae
authored
8 years ago
by
Evelyn
Committed by
GitHub
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mg_url_decode.md
parent
5ed99911
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mg_url_decode.md
docs/c-api/http.h/mg_url_decode.md
+2
-2
No files found.
docs/c-api/http.h/mg_url_decode.md
View file @
7ea4adae
...
@@ -7,12 +7,12 @@ signature: |
...
@@ -7,12 +7,12 @@ signature: |
int is_form_url_encoded);
int is_form_url_encoded);
---
---
Decode URL-encoded string.
Decode
s
URL-encoded string.
Source string is specified by (
`src`
,
`src_len`
), and destination is
Source string is specified by (
`src`
,
`src_len`
), and destination is
(
`dst`
,
`dst_len`
). If
`is_form_url_encoded`
is non-zero, then
(
`dst`
,
`dst_len`
). If
`is_form_url_encoded`
is non-zero, then
`+`
character is decoded as a blank space character. This function
`+`
character is decoded as a blank space character. This function
guarantees to
`\0`
-terminate the destination. If destination is too small,
guarantees to
`\0`
-terminate the destination. If destination is too small,
then source string is partially decoded and
`-1`
is returned. Otherwise,
then
the
source string is partially decoded and
`-1`
is returned. Otherwise,
a length of decoded string is returned, not counting final
`\0`
.
a length of decoded string is returned, not counting final
`\0`
.
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment