Transmitting newline character “\n”

前端 未结 4 657
眼角桃花
眼角桃花 2020-12-07 11:44

Given the following URL (working, try it!)

https://select-test.wp3.rbsworldpay.com/wcc/purchase?instId=151711&cartId=28524¤cy=GBP&am

相关标签:
4条回答
  • 2020-12-07 11:59

    Try using %0A in the URL, just like you've used %20 instead of the space character.

    0 讨论(0)
  • 2020-12-07 11:59

    late to the party, but if anyone comes across this, javascript has a encodeURI method

    0 讨论(0)
  • 2020-12-07 12:11

    Try to replace the \n with %0A just like you have spaces replaced with %20.

    0 讨论(0)
  • 2020-12-07 12:15

    Use %0A (URL encoding) instead of \n (C encoding).

    0 讨论(0)
提交回复
热议问题