Affected by GO-2026-4527
and 2 other vulnerabilities
GO-2026-4527 : Dagu affected by unauthenticated RCE via inline DAG spec in default configuration in github.com/dagu-org/dagu
GO-2026-4542 : Dagu: Path traversal in DAG creation allows arbitrary YAML file write outside DAGs directory in github.com/dagu-org/dagu
GO-2026-4693 : Dagu: Path Traversal via `dagRunId` in Inline DAG Execution in github.com/dagu-org/dagu
Discover Packages
github.com/dagu-org/dagu
internal
service
frontend
api
pathutil
package
Version:
v1.30.3
Opens a new window with list of versions in this module.
Published: Jan 4, 2026
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func BuildPublicEndpointPath(basePath, suffix string ) string
BuildPublicEndpointPath constructs a normalized endpoint path by combining
a base path and suffix, ensuring the result starts with "/" and has no
trailing slashes or duplicate separators.
NormalizePath ensures paths are comparable by enforcing a leading slash
and trimming any trailing slash (except for root "/").
Source Files
¶
Click to show internal directories.
Click to hide internal directories.