fix: getFeedUrl 함수에서 키워드의 URL 인코딩 오류 수정 #4
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
getFeedUrl 함수의 URL 인코딩 문제를 수정합니다. 이전에는 키워드 매개변수가 피드 URL 구성 전에 올바르게 인코딩되지 않아 잘못된 검색 결과 또는 API 요청 시 오류가 발생할 수 있었습니다. 이 수정은 키워드를 encodeURIComponent를 사용하여 올바르게 인코딩하도록 보정합니다. 이제 구성된 피드 URL은 Naver Open API 요청에서 키워드를 정확하게 나타내며, 뉴스 기사에 대한 정확하고 일관된 검색 결과를 보장합니다.