Smithyj

Results 11 issues of Smithyj

这个随机函数挺好的,建议对外公开

在 go-zero 中对 NotFoundHandler & NotAllowedHandler 的这种情况进行了封装 ![image](https://user-images.githubusercontent.com/9820142/173626841-6949f898-7e5e-4e04-8784-fa009e68d318.png) 正常可到达请求返回 Header 如下 ![image](https://user-images.githubusercontent.com/9820142/173626719-d208ac2d-c08a-41f2-bfec-beeafc67570b.png) 但是在请求 NotFoundHandler & NotAllowedHandler 不存在的链接时,没有出现 Cors Header 头信息,这样就会导致前端跨域报错,然后整个开发体验会不是很友好 ![image](https://user-images.githubusercontent.com/9820142/173627213-e08e0353-78b5-407e-ab13-b7efbeba8613.png)

stale

快速刷新多次,只会走一次刷新回调,下拉刷新 loading 图标会一直存在

Datetime column, Error when set the `default` value to `now()` and `extra` is same ![image](https://user-images.githubusercontent.com/9820142/106566485-5496b100-656b-11eb-9690-dad1a87e8936.png)

example: ![image](https://user-images.githubusercontent.com/9820142/89663146-b43b3900-d907-11ea-9848-2aa66451b94b.png)

php index.php secret.php unsecret.php 这个 unsecret.php 里面是原来的文件

I tried editing a text field, and after the popup edit was complete, I clicked OK, the database did not change, and a carriage enter operation must be made in...

大佬还有没有 5.0.24 的漏洞啊

Case: ``` dayjs(`0001-12-01 00:00:00`).get("year") // 1901 ``` ``` moment(`0001-12-01 00:00:00`).get("year") // 1,expected ``` Case: ``` dayjs(`0001-12-00 00:00:00`).get("year") // 1901 ``` ``` moment(`0001-12-00 00:00:00`).get("year") // NaN,expected ``` Case: ``` dayjs("1100-12-00 00:00:00").isValid()...