Scallop Ye

Results 11 issues of Scallop Ye

This patch reduces the number of instructions performed and should boost performance.

The string "/:" should be a valid URI reference with only a path according to RFC 3986, but parsing it with `uriparse` results in an error "schemeless path URI reference...

由于没有官方公告,暂不予处理。

Closes #146. This is ready for review now. @hartwork I've added several test cases for the issue and can confirm that all the five bugs listed in #146 are fixed.

I found several issues with IP literal parsing in `uriparser` when fuzzing [`fluent-uri`](https://github.com/yescallop/fluent-uri-rs) against this library. Here's a list of them: - According to RFC 3986 (RFC 3513), the use...

bug

### Issue Description CommandRequestPacket decode error on beta 1.2.6.2 I don't know whether if this error occurs on the stable versions, someone can check it? ### Steps to Reproduce the...

I have noticed that in *Atri -My Dear Moments-* at least two pairs of storage media resources exist with the same paths: ``` psb://quickmenu.pimg/1711.tlg ~ psb://submenu.pimg/1711.tlg psb://quickmenu.pimg/1717.tlg ~ psb://submenu.pimg/1717.tlg ```...

When [fuzzing](https://github.com/yescallop/fluent-uri-rs/blob/main/fuzz/fuzz_targets/against_iref.rs) `fluent_uri` against `iref`, I found the following bugs with `Authority::{host, port}` and `UriRef::path` in `iref`: - Parsing `"//[::]"` gives a host of `"["` and a port of `Some(":]")`....

假定你已经读过 [diff 规范](https://github.com/yescallop/areacodes/blob/master/diff-spec.md),下列规则说明如何收集代码变更的文本描述(以下简称**变更描述**)。 1. 变更描述收集在差异表中,每条变更描述由一行或多行连续的注释行组成,其所描述的是紧接其后的一行或多行连续的变更行。为了兼容差异表中旧的注释,只有当差异表第一行的内容为 `#![described]` 时,该表中其余的注释行才能被解析为变更描述。 2. 对于一条变更描述,将组成其的注释行行首的 `#` 与其后的空白字符去除后,以 `\n` 连接各行即得到其内容。变更描述的内容使用 Markdown 语法,可使用标题分级,一级标题隐含在其描述的变更中,二级标题由单个 `#` 起始,以此类推(与 Rust 的文档注释类似)。 3. 变更描述应尽可能详细,对于引用文本必须说明其来源,尽可能使用超链接。为防止链接失效,可采用自动化脚本将对应的网页或文件存档。例子参见 [2022-2023.diff](https://github.com/yescallop/areacodes/blob/master/diff/2022-2023.diff)。 Useful APIs: [Wayback Machine APIs](https://archive.org/help/wayback_api.php), [Save Page Now...

help wanted

There is too much unsafe code in version `0.1`. It is nearly unmanageable. Yet it is not possible to forbid unsafe code because of `Uri` and `Uri::borrow`. At least we...