Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
9c8700e4
...
9c8700e47ee427abc004280b96ca8f6bb279a78a
authored
2001-09-19 02:41:55 +0000
by
Sam Roberts
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Check harder for URLs that are not invalid for the particular scheme.
1 parent
5eec624d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
mailbox/url_imap.c
mailbox/url_pop.c
mailbox/url_imap.c
View file @
9c8700e
...
...
@@ -57,6 +57,9 @@ _url_imap_init (url_t url)
if
(
status
)
return
status
;
if
(
!
url
->
host
||
url
->
query
)
return
EINVAL
;
/* is it pop? */
if
(
strcmp
(
"imap"
,
url
->
scheme
)
!=
0
)
return
EINVAL
;
...
...
mailbox/url_pop.c
View file @
9c8700e
...
...
@@ -62,7 +62,7 @@ _url_pop_init (url_t url)
return
EINVAL
;
/* not valid in a pop url */
if
(
url
->
path
||
url
->
query
)
if
(
url
->
path
||
url
->
query
||
!
url
->
host
)
return
EINVAL
;
if
(
url
->
port
==
0
)
...
...
Please
register
or
sign in
to post a comment