Skip to content

fix: remove hardcoded keywords= suffix from form action#151

Open
shivv23 wants to merge 1 commit intoc2siorg:mainfrom
shivv23:fix/form-keyword-action
Open

fix: remove hardcoded keywords= suffix from form action#151
shivv23 wants to merge 1 commit intoc2siorg:mainfrom
shivv23:fix/form-keyword-action

Conversation

@shivv23
Copy link
Copy Markdown

@shivv23 shivv23 commented Mar 23, 2026

Description

Remove hardcoded ?keywords= suffix from form action URLs in content.js. The form now submits exactly one keywords parameter from user input.

Related Issues

Motivation and Context

The previous form actions had ?keywords= hardcoded which could cause empty leading keyword values when submitted.

How Has This Been Tested

  • JavaScript syntax verification passed
  • Changes are minimal (3 lines changed)

Checklist

  • My code follows the code style of this project
  • I have read the CONTRIBUTING document

The form action now uses /news_keywords instead of /news_keywords?keywords=
The form submits exactly one keywords parameter from user input.

Closes c2siorg#117
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

Successfully merging this pull request may close these issues.

1 participant