You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Paste the following string into the conversion box: curl 'http://sejm.gov.pl/Sejm8.nsf/posel.xsp?id=001&type=A&$$ajaxid=view%3A_id1%3A_id2%3AfacetMain%3A_id187%3AholdBiura'
In particular, please note the part: $_ENV["http://sejm.gov.pl/Sejm8.nsf/posel.xsp?id=001&type=A&ajaxid=view%3A_id1%3A_id2%3AfacetMain%3A_id187%3AholdBiura"].
I see there's something clever going on here, because of adding the $_ENV bit. This is easy to catch because on executing this, PHP will complain about 'no index found' (in array $_ENV). However, only after quite some time I also realized the dollar signs ($) in the bit $$ajaxid in the input string were dropped in the resulting code, and caused the requests not to work. If this needs to be done to prevent some XSS, etc, then could the converter be more explicit about it?
Proposed solution:
Provide a warning label if dollar characters are removed from input URL.
Thank you for a great tool.
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
curl 'http://sejm.gov.pl/Sejm8.nsf/posel.xsp?id=001&type=A&$$ajaxid=view%3A_id1%3A_id2%3AfacetMain%3A_id187%3AholdBiura'
Result:
In particular, please note the part:
$_ENV["http://sejm.gov.pl/Sejm8.nsf/posel.xsp?id=001&type=A&ajaxid=view%3A_id1%3A_id2%3AfacetMain%3A_id187%3AholdBiura"]
.I see there's something clever going on here, because of adding the
$_ENV
bit. This is easy to catch because on executing this, PHP will complain about 'no index found' (in array$_ENV
). However, only after quite some time I also realized the dollar signs ($) in the bit$$ajaxid
in the input string were dropped in the resulting code, and caused the requests not to work. If this needs to be done to prevent some XSS, etc, then could the converter be more explicit about it?Proposed solution:
Provide a warning label if dollar characters are removed from input URL.
Thank you for a great tool.
The text was updated successfully, but these errors were encountered: