260702_234512

This commit is contained in:
Maciej J. Bowszys 2026-07-02 23:45:12 +02:00
parent aa83cf7b70
commit 3eccde543e

View File

@ -232,13 +232,11 @@ func templates_register(template_renders map[string]string){
}
func hdlr_film_parseMsg(resp http.ResponseWriter, req *http.Request){
fmt.Println("[srv] util", req.URL.Path)
fmt.Println("[srv] util", req.URL)
req_text, err := io.ReadAll(req.Body)
if err != nil{ return }
fmt.Println(string(req_text))
url_query := req.URL.Query()
t_url, _ := findURL_in_msg(string(req_text))
t_url, _ := findURL_in_msg(url_query.Get(""))
fmt.Println(t_url)
t_url_noRed, _ := resolve_redirs(t_url)
fmt.Println(t_url_noRed)