Skip to content

Commit

Permalink
Merge pull request #41 from delyriand/feature/allow-mailto-tel
Browse files Browse the repository at this point in the history
Allow mailto and tel in url
  • Loading branch information
maximehuran authored Sep 5, 2024
2 parents 0b0a008 + 61c6b97 commit e221cbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COMPOSER=symfony composer
CONSOLE=${SYMFONY} console
export COMPOSE_PROJECT_NAME=menu
PLUGIN_NAME=sylius-${COMPOSE_PROJECT_NAME}-plugin
COMPOSE=docker-compose
COMPOSE=docker compose
YARN=yarn

###
Expand Down Expand Up @@ -194,7 +194,7 @@ docker.logs: ## Logs the docker containers
.PHONY: docker.logs

docker.dc: ARGS=ps
docker.dc: ## Run docker-compose command. Use ARGS="" to pass parameters to docker-compose.
docker.dc: ## Run docker compose command. Use ARGS="" to pass parameters to docker compose.
cd ${APP_DIR} && ${COMPOSE} ${ARGS}
.PHONY: docker.dc

Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/validation/MenuItemTranslation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ MonsieurBiz\SyliusMenuPlugin\Entity\MenuItemTranslation:
- Url:
protocols: [http, https]
relativeProtocol: true
- Regex: '`^(#|/[^/])`'
- Regex: '`^(#|/[^/]|tel:|mailto:)`'
groups: [monsieurbiz_menu]

0 comments on commit e221cbd

Please sign in to comment.