hackclub / hackathons-backend

Powering https://hackathons.hackclub.com

Home Page:https://hackathons.hackclub.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hackathon website regex only validating the beginning

appsignal opened this issue · comments

Message

  bad URI(is not URI?): "https://[REDACTED].org (it's not up yet, but it will be soon!)"

Backtrace (last 10 lines)

/usr/local/lib/ruby/3.2.0/uri/rfc3986_parser.rb:66 split
/usr/local/lib/ruby/3.2.0/uri/rfc3986_parser.rb:71 parse
/usr/local/lib/ruby/3.2.0/uri/common.rb:193 parse
/usr/local/lib/ruby/3.2.0/uri/common.rb:722 URI
lib/faraday/utils.rb:75 call
lib/faraday/utils.rb:75 URI
lib/faraday/connection.rb:544 proxy_for_request
lib/faraday/connection.rb:437 block in run_request
lib/faraday/connection.rb:458 block in build_request
lib/faraday/request.rb:41 block in create

View on AppSignal: https://appsignal.com/hack-club/sites/64dc848fd2a5e4d7b35c5ca2/exceptions/incidents/77

It seems that x invalid shows as invalid (as it should), but https://x.com invalid doesn't.