DIYgod / RSSHub

🧡 Everything is RSSible
https://docs.rsshub.app
MIT License
30.74k stars 6.87k forks source link

"Transformation - JSON" wrong path #14894

Closed Orokapei closed 3 months ago

Orokapei commented 3 months ago

路由地址

/rsshub/transform/json/:url/:routeParams

完整路由地址

/rsshub/transform/json/https%3A%2F%2Fapi.github.com%2Frepos%2Fginuerzh%2Fgost%2Freleases/title=title%3DGost%20releases%26itemTitle%3Dtag_name%26itemLink%3Dhtml_url%26itemDesc%3Dbody
/rsshub/transform/json/https%3A%2F%2Fsearch.zongheng.com%2Fsearch%2Fbook%3Fkeyword%3D123/title%3D123%26item%3Dlist%26itemTitle%3Dname%26itemLink%3DbookId%26itemDesc%3Ddescription%26itemPubDate%3DupdateTime

相关文档

https://docs.rsshub.app/zh/routes/other#transformation-json

预期是什么?

生成rss

实际发生了什么?

Error Message: wrong path

Route: /rsshub/transform/json/https:/api.github.com/repos/ginuerzh/gost/releases/title=title=Gost%20releases&itemTitle=tag_name&itemLink=html_url&itemDesc=body

Full Route: /rsshub/transform/json/https:/api.github.com/repos/ginuerzh/gost/releases/title=title=Gost%20releases&itemTitle=tag_name&itemLink=html_url&itemDesc=body

部署

自建

部署相关信息

Docker Version: v26.0.0-rc2 Node Version: v21.7.1 Git Hash: 8a04b529 Git Date: Wed, 20 Mar 2024 17:04:17 GMT

额外信息

docker env 已设置`ALLOW_USER_SUPPLY_UNSAFE_DOMAIN=true`

这不是重复的 issue

TonyRL commented 3 months ago

/test

/rsshub/transform/json/https%3A%2F%2Fapi.github.com%2Frepos%2Fginuerzh%2Fgost%2Freleases/title=title%3DGost%20releases%26itemTitle%3Dtag_name%26itemLink%3Dhtml_url%26itemDesc%3Dbody
github-actions[bot] commented 3 months ago

Successfully generated as following:

http://localhost:1200/rsshub/transform/json/https%3A%2F%2Fapi.github.com%2Frepos%2Fginuerzh%2Fgost%2Freleases/title=title%3DGost%20releases%26itemTitle%3Dtag_name%26itemLink%3Dhtml_url%26itemDesc%3Dbody - Success ✔️ ```rss title=Gost releaseshttps://api.github.com/repos/ginuerzh/gost/releasesProxy https://api.github.com/repos/ginuerzh/gost/releases - Made with love by RSSHub(https://github.com/DIYgod/RSSHub)RSSHubi@diygod.me (DIYgod)enFri, 22 Mar 2024 01:59:06 GMT5v2.11.5## What's Changed * Do not exit the server loop on obfs4 connection errors by @knyar in https://github.com/ginuerzh/gost/pull/901 * parseIP supports IPv6 by @koaiwu in https://github.com/ginuerzh/gost/pull/898 ## New Contributors * @knyar made their first contribution in https://github.com/ginuerzh/gost/pull/901 **Full Changelog**: https://github.com/ginuerzh/gost/compare/v2.11.4...v2.11.5https://github.com/ginuerzh/gost/releases/tag/v2.11.5https://github.com/ginuerzh/gost/releases/tag/v2.11.5v2.11.4**Full Changelog**: https://github.com/ginuerzh/gost/compare/v2.11.3...v2.11.4https://github.com/ginuerzh/gost/releases/tag/v2.11.4https://github.com/ginuerzh/gost/releases/tag/v2.11.4v2.11.3## What's Changed * 允许绑定出口到指定网卡上 by @IndexDoge in https://github.com/ginuerzh/gost/pull/817 * Compatible with older Go version by @lkebin in https://github.com/ginuerzh/gost/pull/846 * Fix #841 by @P-PPPP in https://github.com/ginuerzh/gost/pull/842 * Wait for the second copy error by @costinm in https://github.com/ginuerzh/gost/pull/861 ## New Contributors * @IndexDoge made their first contribution in https://github.com/ginuerzh/gost/pull/817 * @lkebin made their first contribution in https://github.com/ginuerzh/gost/pull/846 * @P-PPPP made their first contribution in https://github.com/ginuerzh/gost/pull/842 * @costinm made their first contribution in https://github.com/ginuerzh/gost/pull/861 **Full Changelog**: https://github.com/ginuerzh/gost/compare/v2.11.2...v2.11.3https://github.com/ginuerzh/gost/releases/tag/v2.11.3https://github.com/ginuerzh/gost/releases/tag/v2.11.3v2.11.2## What's Changed * Add installation instructions for Homebrew by @moonfruit in https://github.com/ginuerzh/gost/pull/655 * Certificate pinning for servers without domain by @luyuhuang in https://github.com/ginuerzh/gost/pull/641 * Close connection if authentication failed by @mengzhuo in https://github.com/ginuerzh/gost/pull/659 * Fix: relay udp forward by @sleshep in https://github.com/ginuerzh/gost/pull/664 * fix issue https://github.com/ginuerzh/gost/issues/617 by @proxy666-dev in https://github.com/ginuerzh/gost/pull/677 * Add darwin-arm64 for Apple M1 devices by @soffchen in https://github.com/ginuerzh/gost/pull/679 * bump github.com/milosgajdos/tenus to v0.0.3 by @btwiuse in https://github.com/ginuerzh/gost/pull/689 * Add whitelist/blacklist support for relay by @Hubix9 in https://github.com/ginuerzh/gost/pull/698 * fix obfs-tls with shadowsocks aead issue #695 by @cute in https://github.com/ginuerzh/gost/pull/697 * Update dependency ! by @guqing637 in https://github.com/ginuerzh/gost/pull/703 * Update go.mod and go.sum by @guqing637 in https://github.com/ginuerzh/gost/pull/705 * ignore linux error: File exists while add same route twice by @wencaiwulue in https://github.com/ginuerzh/gost/pull/747 * Closes #594 ugprade quic-go==v0.24.0 by @sleshep in https://github.com/ginuerzh/gost/pull/760 * update:update package by @openwrt2223 in https://github.com/ginuerzh/gost/pull/772 * update quick-go dep to support golang-1.18 by @hulb in https://github.com/ginuerzh/gost/pull/804 * Add -M option for Fwmark by @purerosefallen in https://github.com/ginuerzh/gost/pull/746 * surround interface name with double quote in case of name have space by @wencaiwulue in https://github.com/ginuerzh/gost/pull/727 ## New Contributors * @moonfruit made their first contribution in https://github.com/ginuerzh/gost/pull/655 * @luyuhuang made their first contribution in https://github.com/ginuerzh/gost/pull/641 * @mengzhuo made their first contribution in https://github.com/ginuerzh/gost/pull/659 * @proxy666-dev made their first contribution in https://github.com/ginuerzh/gost/pull/677 * @btwiuse made their first contribution in https://github.com/ginuerzh/gost/pull/689 * @Hubix9 made their first contribution in https://github.com/ginuerzh/gost/pull/698 * @cute made their first contribution in https://github.com/ginuerzh/gost/pull/697 * @guqing637 made their first contribution in https://github.com/ginuerzh/gost/pull/703 * @wencaiwulue made their first contribution in https://github.com/ginuerzh/gost/pull/747 * @openwrt2223 made their first contribution in https://github.com/ginuerzh/gost/pull/772 * @hulb made their first contribution in https://github.com/ginuerzh/gost/pull/804 * @purerosefallen made their first contribution in https://github.com/ginuerzh/gost/pull/746 **Full Changelog**: https://github.com/ginuerzh/gost/compare/v2.11.1...v2.11.2https://github.com/ginuerzh/gost/releases/tag/v2.11.2https://github.com/ginuerzh/gost/releases/tag/v2.11.2v2.11.1Change logs: * fix issue #520. * fix compile error. * support mutual TLS authentication (https://docs.ginuerzh.xyz/gost/tls/#2111).https://github.com/ginuerzh/gost/releases/tag/v2.11.1https://github.com/ginuerzh/gost/releases/tag/v2.11.1v2.11.0Change logs: * Add obfs-otls transport (https://docs.ginuerzh.xyz/gost/simple-obfs/) * Add relay protocol (https://docs.ginuerzh.xyz/gost/relay/) * Add pubkey auth support for ssh (https://docs.ginuerzh.xyz/gost/ssh/)https://github.com/ginuerzh/gost/releases/tag/v2.11.0https://github.com/ginuerzh/gost/releases/tag/v2.11.0v2.10.1Change logs: * ss: merge `ss2` into `ss`, `ss2` now is deprecated. (https://docs.ginuerzh.xyz/gost/ss/) * ss: make the encryption optional. * dns: add more parameters and edns client subnet support. (https://docs.ginuerzh.xyz/gost/dns/) * tun: add `ssu` chain node support. * tun: fix setup command on MacOS. * udp: fix client auth in UDP relay.https://github.com/ginuerzh/gost/releases/tag/v2.10.1https://github.com/ginuerzh/gost/releases/tag/v2.10.1v2.10.0Change logs: * DNS resolver supports chain (https://docs.ginuerzh.xyz/gost/resolver/#2100). * Add DNS proxy server, support protocol conversion and chain (https://docs.ginuerzh.xyz/gost/dns/). * Shadowsocks UDP relay Improvement (https://docs.ginuerzh.xyz/gost/ss/#udp). * Add tproxy based UDP transparent proxy (https://docs.ginuerzh.xyz/gost/redirect/#udp-210).https://github.com/ginuerzh/gost/releases/tag/v2.10.0https://github.com/ginuerzh/gost/releases/tag/v2.10.0v2.9.2Change logs: * tun: add server side routing (doc: https://docs.ginuerzh.xyz/gost/tuntap/#292). * tap: make net parameter optional (#472). * add auth parameter (#467) (doc: https://docs.ginuerzh.xyz/gost/configuration/#auth-292).https://github.com/ginuerzh/gost/releases/tag/v2.9.2https://github.com/ginuerzh/gost/releases/tag/v2.9.2v2.9.1Change Logs: * TUN/TAP: add chain support. * KCP: add fake TCP support * SOCKS5: add `notls` optionhttps://github.com/ginuerzh/gost/releases/tag/v2.9.1https://github.com/ginuerzh/gost/releases/tag/v2.9.1v2.9.0Change logs: * Add TUN/TAP devices support. * fix http2 failover. * add `path` option support for h2/h2c.https://github.com/ginuerzh/gost/releases/tag/v2.9.0https://github.com/ginuerzh/gost/releases/tag/v2.9.0v2.8.2Fix issues: #388 #389 #408 #417https://github.com/ginuerzh/gost/releases/tag/v2.8.2https://github.com/ginuerzh/gost/releases/tag/v2.8.2v2.8.1Change List: 1. fix #181. 2. fix #364. 3. add max_fails & fail_timeout options support for load balancing and port forwarding. 4. add user-agent option for http/http2.https://github.com/ginuerzh/gost/releases/tag/v2.8.1https://github.com/ginuerzh/gost/releases/tag/v2.8.1v2.8.01. add go-shadowsocks2 support. 2. add knock option for probe resistance. 3. add ip option support for port forward handler. 4. fix bug #279.https://github.com/ginuerzh/gost/releases/tag/v2.8.0https://github.com/ginuerzh/gost/releases/tag/v2.8.0v2.7.2Changes: * fix obfs http client * ws supports user defined url path * fix peer JSON config parsinghttps://github.com/ginuerzh/gost/releases/tag/v2.7.2https://github.com/ginuerzh/gost/releases/tag/v2.7.2v2.7.1Changes: * Fix issue #342 * Add live reloading support for authentication file.https://github.com/ginuerzh/gost/releases/tag/v2.7.1https://github.com/ginuerzh/gost/releases/tag/v2.7.1v2.7.0New Features: * DNS resolver now supports DoH. * Add probing resistance support for HTTP(S)/HTTP2. * peer config now supports live reloading. https://github.com/ginuerzh/gost/releases/tag/v2.7.0https://github.com/ginuerzh/gost/releases/tag/v2.7.0v2.6.1https://github.com/ginuerzh/gost/releases/tag/v2.6.1https://github.com/ginuerzh/gost/releases/tag/v2.6.1v2.6New features: * Routing control * DNS control * Live reloading support for configuration files: bypass, resolver, hosts. https://github.com/ginuerzh/gost/releases/tag/v2.6https://github.com/ginuerzh/gost/releases/tag/v2.6v2.6-rc1https://github.com/ginuerzh/gost/releases/tag/v2.6-rc1https://github.com/ginuerzh/gost/releases/tag/v2.6-rc1v2.5New Features: * [SNI Proxy](https://docs.ginuerzh.xyz/gost/en/sni/) * [Load Balancing](https://docs.ginuerzh.xyz/gost/en/load-balancing/) * [Forward Tunnel](https://docs.ginuerzh.xyz/gost/en/port-forwarding/#forward-tunnel)https://github.com/ginuerzh/gost/releases/tag/v2.5https://github.com/ginuerzh/gost/releases/tag/v2.5v2.5-rc2https://github.com/ginuerzh/gost/releases/tag/v2.5-rc2https://github.com/ginuerzh/gost/releases/tag/v2.5-rc2v2.5-rc1https://github.com/ginuerzh/gost/releases/tag/v2.5-rc1https://github.com/ginuerzh/gost/releases/tag/v2.5-rc1v2.4https://github.com/ginuerzh/gost/releases/tag/v2.4https://github.com/ginuerzh/gost/releases/tag/v2.4v2.4-rc2更新内容: * 修正配置文件失效的问题 bug #129 * 修正TCP透明代理无法使用的问题 bug #131 * 修正HTTP2.0无法多路复用问题 * HTTP客户端支持读取外部认证信息文件 bug #122 * HTTP/Websocket的请求头User-Agent默认值修改为Chrome/60.0.3112.90,并可以通过agent参数设置 * 自动代理模式去除对SOCKS4代理类型的支持https://github.com/ginuerzh/gost/releases/tag/v2.4-rc2https://github.com/ginuerzh/gost/releases/tag/v2.4-rc2v2.4-rc1https://github.com/ginuerzh/gost/releases/tag/v2.4-rc1https://github.com/ginuerzh/gost/releases/tag/v2.4-rc1v2.4-devhttps://github.com/ginuerzh/gost/releases/tag/v2.4-devhttps://github.com/ginuerzh/gost/releases/tag/v2.4-devv2.3https://github.com/ginuerzh/gost/releases/tag/v2.3https://github.com/ginuerzh/gost/releases/tag/v2.3v2.3-rc2新增功能: 1. HTTP2客户端支持心跳检测 2. shadowsocks客户端支持OTA BUG修复: 1. fix issue #65 2. fix issue #66 https://github.com/ginuerzh/gost/releases/tag/v2.3-rc2https://github.com/ginuerzh/gost/releases/tag/v2.3-rc2v2.3-rc1- 增加对透明代理的支持 #61 。 - 优化UDP本地端口转发,针对每个客户端可以持续性进行UDP数据交互 #62 。 - HTTP/SOCKS5代理支持多组认证信息 #57 。 已知BUG: UDP本地端口转发,当代理链的末端使用HTTP2时,转发存在问题。 https://github.com/ginuerzh/gost/releases/tag/v2.3-rc1https://github.com/ginuerzh/gost/releases/tag/v2.3-rc1 ```
TonyRL commented 3 months ago

It works.

Orokapei commented 3 months ago

找到问题了 = = nginx反代的时候自动decode了