Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

bump fix

Steven Teyaae796edcd14
diff --git a/apps/web/lib/api/links.ts b/apps/web/lib/api/links.ts
index d544fb225a..4f584d49e2 100644
--- a/apps/web/lib/api/links.ts
+++ b/apps/web/lib/api/links.ts
@@ -238,7 +238,7 @@ export async function addLink(link: LinkProps) {
redis.set(
`${domain}:${key}`,
{
- url,
+ url: encodeURIComponent(url),
password: hasPassword,
proxy,
...(rewrite && {
@@ -349,7 +349,7 @@ export async function editLink({
redis.set(
`${domain}:${key}`,
{
- url,
+ url: encodeURIComponent(url),
password: hasPassword,
proxy,
...(rewrite && {
diff --git a/apps/web/package.json b/apps/web/package.json
index 722d845480..0e8140b898 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -13,8 +13,8 @@
"dependencies": {
"@boxyhq/saml-jackson": "^1.11.3",
"@dub/tailwind-config": "workspace:*",
- "@dub/ui": "latest",
- "@dub/utils": "latest",
+ "@dub/ui": "workspace:*",
+ "@dub/utils": "workspace:*",
"@next-auth/prisma-adapter": "^1.0.5",
"@planetscale/database": "^1.7.0",
"@prisma/client": "^5.2.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 7c45d5b2c1..80be70f5b8 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -41,10 +41,10 @@ importers:
specifier: workspace:*
version: link:../../packages/tailwind-config
'@dub/ui':
- specifier: latest
+ specifier: workspace:*
version: link:../../packages/ui
'@dub/utils':
- specifier: latest
+ specifier: workspace:*
version: link:../../packages/utils
'@next-auth/prisma-adapter':
specifier: ^1.0.5