Cannot fetch content with a XOR-URL which typeTag is greater than 65535
See original GitHub issueThe browser considers a XOR-URL invalid when the typeTag part is greater than 65535 e.g. safe://hyfktcegr68th4og68y9eks99cie14qtw44zpmjdttqqujxr3bb5jnnip7r:160485
triggers error Invalid URL: safe://hyfktcegr68th4og68y9eks99cie14qtw44zpmjdttqqujxr3bb5jnnip7r:160485
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
[RFC Discussion]: XOR-URLs - RFCs - Safe Dev Forum
Essentially, it's reserved in url schema for port numbers and so cannot be larger than 65535. Which is problematic.
Read more >Release: SAFE Browser v0.11.0 - Updates
There is a known issue with the browser considering a XOR-URL invalid when the typeTag part is greater than 65535 (see issue #429)....
Read more >Safe Network CLI: A Rust Application Which Implements A CLI
Fetching 'maidsafe-testnet' network connection information from ... When syncing content using an NRS-URL (see NRS section below for more information about ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think the multiformats has already been covered in the current implementation @hunterlester . It’s definitely included in the deps now. Though not sure if it’s used for exactly what you’re describing.
I’m all for an alternative char I think.
?
: could this be confused with query params by a webapp? Maybe something still valid in a url, but not used as part of URL structs in general.From the URL spec:
From that I’d suggest not going for something reserved. I think what we need is an unreserved char, that’s not present in the base32 implementation. So how’s about
!
?safe://hyfktcebyxbzht6j6o7fcwbbjh4o3chp16131q437t3kst5foer6ehzchny!150001
The encoding ues multiformats such as multibase, should we also have a multiformats for our network data types so that, for example, the encoding specifies whether it represents an MData and should have a type tag or whether it’s an IData and should not have a type tag?