EOSIO / EOSIO/fc

[BUG] Wrong URL parsing fc::url

Open
#185 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
39
Forks
93
PR merge metrics
No merged PRs in 30d

Description

Seems like bug after providing correct url as std::string fc::url wrong parsing it and trim until path.

```C++
auto m_url = fc::url("http://nsqd-nodeos:4151/pub?topic=eos_actions");
ilog("URL string: ${str}", ("str", m_url)); http://nsqd-nodeos:4151/pub - incorrect
ilog("Url path: ${p}", ("p", m_url.path())); /pub - correct
ilog("Url query: ${q}", ("q", m_url.query())); empty - incorrect
ilog("Url args: ${r}", ("r", m_url.args())); empty
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.