zhengmz

Results 6 issues of zhengmz

# Example: Use $DRONE_COMMIT when event is pull-request I can use $DRONE_COMMIT to get the pr ref to do something

如题。 另外,有没有可能,只是增加一个 ROOT IP,原有的保持呢?

在lua-resty-string中已经实现to_hex,不知能否加一个from_hex,更加高效实现hex到byte的转换? 谢谢 我现在使用gsub的方式: ```lua function from_hex(s) return (s:gsub('..', function(cc) return string.char(tonumber(cc, 16)) end)) end ```

current, this plugin: https://github.com/drone-plugins/drone-gitea-release/blob/6ae63e4434db2acd36fcf906cf4f232a3dd67d29/plugin.go#L57 I hope can add `tag_name`: - when set - exist: use it - non-existent; create it ref to `$DRONE_COMMIT` - when not set, must run in...

## 1. 版本: 1.2.4 ## 2. 测试用例: https://github.com/baidu/san-router/blob/7d0ab324e5911d5624ff9c31496c21000eb4cacf/test/index.js#L460 在 ie8 或 ie11 下运行出错。 ## 3. 原因分析: ie下的 hash 没有对中文URI 进行编码,其 location.hash 和 location.href 都保留中文编码: - hash: `#/route-test/non/asc/你好` - href: `http://127.0.0.1:5500/test/?spec=Router%20by%20handler%2C%20should%20call%20handler%2C%20match%20non%20ascii%20string%20as%20rule%20%3Axxx#/route-test/non/asc/你好`...