mirror of
https://github.com/plausible/analytics.git
synced 2024-12-22 17:11:36 +03:00
Update Elixir version
This commit is contained in:
parent
2a31f7911a
commit
e4816e8f64
@ -1,4 +1,4 @@
|
|||||||
elixir 1.12.2-otp-24
|
elixir 1.13.4-otp-24
|
||||||
erlang 24.0.3
|
erlang 24.0.3
|
||||||
nodejs 16.3.0
|
nodejs 16.3.0
|
||||||
python 3.9.12
|
python 3.9.12
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# platform specific, it makes sense to build it in the docker
|
# platform specific, it makes sense to build it in the docker
|
||||||
|
|
||||||
#### Builder
|
#### Builder
|
||||||
FROM hexpm/elixir:1.12.2-erlang-24.0-alpine-3.13.3 as buildcontainer
|
FROM hexpm/elixir:1.13.4-erlang-24.0-alpine-3.13.3 as buildcontainer
|
||||||
|
|
||||||
# preparation
|
# preparation
|
||||||
ARG APP_VER=0.0.1
|
ARG APP_VER=0.0.1
|
||||||
|
@ -818,22 +818,6 @@ defmodule PlausibleWeb.Api.ExternalControllerTest do
|
|||||||
assert pageview.utm_source == "%balle%"
|
assert pageview.utm_source == "%balle%"
|
||||||
end
|
end
|
||||||
|
|
||||||
test "ignores invalid query param part", %{conn: conn} do
|
|
||||||
params = %{
|
|
||||||
n: "pageview",
|
|
||||||
u:
|
|
||||||
"https://test.com/?utm_source=Bing%20%7C%20Text%20%7C%20Leads%20%7C%20EIGEN%20NAAM-most%20broad%20(Various%20search%20term%20matches)%20%7C%20Afweging,%20Consumptie%20%7C%20T%3A%",
|
|
||||||
d: "invalid-query-test.com"
|
|
||||||
}
|
|
||||||
|
|
||||||
conn = post(conn, "/api/event", params)
|
|
||||||
|
|
||||||
assert conn.status == 202
|
|
||||||
|
|
||||||
pageview = get_event("invalid-query-test.com")
|
|
||||||
assert pageview.utm_source == ""
|
|
||||||
end
|
|
||||||
|
|
||||||
test "can use double quotes in query params", %{conn: conn} do
|
test "can use double quotes in query params", %{conn: conn} do
|
||||||
q = URI.encode_query(%{"utm_source" => "Something \"quoted\""})
|
q = URI.encode_query(%{"utm_source" => "Something \"quoted\""})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user