Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: Issue with "Load Ideas" for Domains Containing Hyphens #250

Open
HAL9000-sudo opened this issue Nov 15, 2024 · 3 comments
Open

Comments

@HAL9000-sudo
Copy link

HAL9000-sudo commented Nov 15, 2024

Docker Version 2.0.6

Description:

In the "Ideas" section (domain/ideas/), the "Load Ideas" functionality does not work correctly for domains containing hyphens.

For domains like xyz.com, the page loads ideas as expected.
For domains with hyphens (e.g., x-y-z.com), the page does not function correctly.

Reproduction Steps:

Navigate to domain/ideas/ for a domain with hyphens (e.g., x-y-z.com).
Observe that the page fails to load ideas.

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.

@ingeniumdesign
Copy link

i have this Error: Error Loading Keyword Ideas
After i updated on the new version

@towfiqi
Copy link
Owner

towfiqi commented Nov 16, 2024

@ingeniumdesign Please check the log of your docker instance and if there's an error message, share it here.

@ingeniumdesign
Copy link

After Docker Restart, it works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants