웹 해킹/웹 공부

URL encoding.

삼전동해커 2020. 7. 20. 15:06

우리가 주소창에 쓰는 url에는 사실 영어와 몇개의 특수문자를 제외하면

사용할 수가 없다.  사용하기 위해서는 16진수 값으로 바꿔 줘야한다.

 

이렇게 url에서 문자를 쓸 수 있게 바꿔 주는 걸 url encoding이라 한다.

 

사용할 수 없는 특수문자들은 %,&,공백,개행,null,<,> 같은게 있다.

 

= : %3d
% : %25
& : %26
공백 : %20 ,+
개행 : %0a
null : %00
< : %3C
> : %3E

https://www.urlencoder.org/

 

URL Encode and Decode - Online

Encode to or Decode from URL encoded (also known as Percent-encoded) format with advanced options. Enter our site for an easy-to-use online tool.

www.urlencoder.org

이 사이트를 이용하면 쉽게 url에서 쓸 수 있는 인코딩을 할 수 있다.