gcarella228 at gmail.com
Fri Dec 15 04:25:42 PST 2017
I solved the problem. It has been my mistake.
The string has a dirty content that I forgot to remove; that's the reason
I have strange content before the name of the file.
2017-12-15 13:15 GMT+01:00 Junxiao Shi <shijunxiao at email.arizona.edu>:
> Hi Giuseppe
> toUri() is, in fact, completely defined. See https://named-data.net/
> Your problem lies in the consumer application, which sent an Interest with
> this unexpected name in the first place.
> Can you show the consumer code? (reply-all to nfd-dev mailing list, do not
> send to individual developers)
> Yours, Junxiao
> On Fri, Dec 15, 2017 at 05:28 Giuseppe Carella <gcarella228 at gmail.com>
>> Good morning community,
>> I have a problem every time I extract a prefix from the interest object.
>> This is what I get: "app1/ping/ndn%3A%2F%2Flocalhost%3A8000%2FMyFile.txt"
>> What I would like to get is "app1/ping/MyFile.txt".
>> For the extraction of the prefix I am using the method
>> I know that the method "toUri()" is not completely defined; therefore is
>> there an alternative way to get the right prefix?
>> Thank you.
>> Ndn-interest mailing list
>> Ndn-interest at lists.cs.ucla.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ndn-interest