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: 지원자의 프로토콜이 붙지 않은 포트폴리오 링크에 대한 버그 수정 #224

Merged
merged 2 commits into from
Sep 21, 2024

Conversation

smb0123
Copy link
Collaborator

@smb0123 smb0123 commented Sep 19, 2024

주요 변경사항

  1. changeIntactUrl 함수 생성 : http 혹은 https 프로토콜이 붙지 않은 url에 대해 http 프로토콜을 붙여준다.
  2. Link 태그의 target="_blank"로 인해 발생할 수 있는 보안 문제를 해결하기 위해 rel="noopener noreferrer" 속성 추가

리뷰어에게...

프로토콜이 붙지 않은 url에 대해서 http 프로토콜을 붙이도록 함수를 구현했는데 https에 대한 처리는 어떻게 해야할 지 모르겠네요. (https로 접근을 해야하는 사이트인데 http로 접근하면 문제가 발생할 수도 있을 것 같습니다.)

관련 이슈

closes #223

@smb0123 smb0123 added the bug 버그 리포트, 버그 제보, 정상적인 기능 수행을 하지 못하는 경우 label Sep 19, 2024
@smb0123 smb0123 self-assigned this Sep 19, 2024
Copy link
Collaborator

@2yunseong 2yunseong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다! 포폴로 제출하는 대부분의 사이트는 http to https가 적용되어서 괜찮을 것 같네요.

Copy link
Collaborator

@geongyu09 geongyu09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다!

추가적으로 https 관련한 이슈는 크게 문제되지 않을 것 같습니다!

<Link
href={url}
target="_blank"
rel="noopener noreferrer"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noopener noreferrer를 처음 알았네요..!
이런 디테일도 좋아보입니다

@smb0123 smb0123 merged commit a1da0e2 into main Sep 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 버그 리포트, 버그 제보, 정상적인 기능 수행을 하지 못하는 경우
Projects
None yet
3 participants