Closed lboehm closed 4 years ago
That's most likely not an issue of the UI5 tooling. The '&' character is special for most shells and joins the execution of two commands. You just have to add quotes around the whole parameter to prevent this. Check the documentation for your shell to learn about the '&' and the potential differences between single and double quotes.
ui5 serve -o "index.html?sap-theme=sap_fiori_3&sap-language=de"
What happens without quotes, is that your shell splits the command line into two commands at the '&' character and executes both commands in sequence. What the ui5
command receives is just
ui5 serve -o index.html?sap-theme=sap_fiori_3
When this command succeeds, the shell will execute the second command
sap-language=DE
As the command line is split by the shell before ui5 is invoked, this is nothing that we could address.
You're right! Thanks for the quick response.
Expected Behavior
I expect the UI5 tooling to call the URL for
ui5 serve
as it is provided.Current Behavior
UI5 serve just passes the first url parameter. All other URL parameters are dismissed.
Steps to reproduce the issue
ui5 serve -o index.html?sap-theme=sap_fiori_3&sap-language=DE
)http://localhost:8080/index.html?sap-theme=sap_fiori_3
sap-language=DE
) is ignoredContext
1.12.1
v10.15.1
6.4.1
Windows 10
Chrome
Affected components (if known)