Skip to content

Redirect placeholder is incorrect #5047

Closed

Description

@joezappie

To Reproduce

Under the advanced settings, the placeholder text for the replacement URL uses $${1} which does not work and ends up redirecting to /$%7B1%7D.

Image

Dokploy documentation states to use $1 which does work.

Image

Current vs. Expected behavior

The placeholder should be changed to show $1 instead as this is the correct syntax to keep the URL path.

Provide environment information

Dokploy Version v0.29.14.

Updated to latest dokploy to verify its still an issue.

Which area(s) are affected? (Select all that apply)

Application

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

No

Activity

  1. linear-code commented on Aug 11, 2026

    @linear-code
  2. dosubot commented on Aug 11, 2026

    @dosubot

    Hi @joezappie! I'm Dosu and I'm helping the Dokploy team.

    You're correct — the placeholder on line 237 of handle-redirect.tsx currently reads:

    <Input placeholder="http://mydomain/$${1}" {...field} />

    The $${1} is invalid and causes the URL-encoded redirect you described. A similar issue in add-redirect.tsx was already fixed in PR #717, but that fix wasn't carried over to handle-redirect.tsx. The fix here would be the same — changing the placeholder to use $1 (e.g., http://mydomain/$1).

    To reply, just mention @dosu.


    Share context across your team and agents. Try Dosu.

    Leave Feedback Learn about dokploy with Dosu Add Dosu to your team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions