I followed the steps on https://jss.sitecore.com/docs/client-frameworks/getting-started/app-deployment to get my local starter app connected to my local sitecore install.
In the nextjs app it works fine, but in the experience editor I was getting a strange error: "A potentially dangerous Request.Path value was detected from the client (:)"
While debugging the error in nextjs I saw a strange value in the itemPath:
This all happens in this file: node_modules\@sitecore-jss\sitecore-jss-nextjs\dist\cjs\middleware\editing-render-middleware.js
As a hack I replaced the "https://https" in the return:
Now it works fine in the exp editor, but I assume I must have something not configured right.
Does anyone have an idea what's wrong here?