The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTP Basic Auth escape password
2015-08-12, 22:03
Post: #1
HTTP Basic Auth escape password
I am attempting to use HTTP(S) basic authentication to control access to a PXE boot menu in an iPXE script:

Code:
#!ipxe
dhcp || exit
login || exit
boot https://${username:uristring}:${password:uristring}@${net0.dhcp/next-server}/pxe/menu.php || exit

Passwords with the commercial at symbol (@) fail because the at symbol is not being escaped. How can I escape it?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HTTP Basic Auth escape password - rhwood - 2015-08-12 22:03



User(s) browsing this thread: 1 Guest(s)