#7 bot should handle mixed case scheme (Http, HTTP, etc)

已關閉
mouz5 年之前創建 · 0 條評論
mouz commented 5 年之前

What happens:

09:23 ircuser : Http://wttr.in/Paris

What should happen:

09:23 ircuser : Http://wttr.in/Paris
09:23     bot : De link van ircuser toont: Weather report: Paris, France

RFC 2396: "For resiliency, programs interpreting URLs should treat upper case letters as equivalent to lower case in scheme names (e.g., allow "HTTP" as well as "http")."

What happens: ``` 09:23 ircuser : Http://wttr.in/Paris ``` What should happen: ``` 09:23 ircuser : Http://wttr.in/Paris 09:23 bot : De link van ircuser toont: Weather report: Paris, France ``` RFC 2396: "For resiliency, programs interpreting URLs should treat upper case letters as equivalent to lower case in scheme names (e.g., allow "HTTP" as well as "http")."
mouz 在代碼提交 5 年之前 中引用了該問題
mouz5 年之前 關閉
mouz 在代碼提交 5 年之前 中引用了該問題
Sign in to join this conversation.
未選擇標籤
未選擇里程碑
未指派成員
1 參與者
正在加載...
取消
保存
尚未有任何內容