When the API is manually accessed with the correct endpoint, it works as expected, confirming the API itself is functioning correctly. However, the page within the domain/ideas/ section does not load ideas for hyphenated domains.
Additional Information:
Despite this issue, the application saves the correct file in the Data folder:
IDEAS_x.y.z.com.json
This indicates the file handling is correct, but the logic for generating API requests on the page needs to be fixed for domains containing hyphens.
Docker Version 2.0.6
Description:
In the "Ideas" section (domain/ideas/), the "Load Ideas" functionality does not work correctly for domains containing hyphens.
Reproduction Steps:
Observed Behavior:
The application incorrectly attempts to call the API with the following endpoint:
https://xyz.com/api/ideas?domain=x_y_z-com
Expected Behavior:
The correct API endpoint should be:
https://xyz.com/api/ideas?domain=x-y-z.com
When the API is manually accessed with the correct endpoint, it works as expected, confirming the API itself is functioning correctly. However, the page within the domain/ideas/ section does not load ideas for hyphenated domains.
Additional Information:
Despite this issue, the application saves the correct file in the Data folder:
IDEAS_x.y.z.com.json
This indicates the file handling is correct, but the logic for generating API requests on the page needs to be fixed for domains containing hyphens.