I need to make a direct link to page which needs the uid in the URL.
Can someone suggest a better way to do this in a block? Does Input Format PHP code open some unnecessary attack vectors? Are input filters or tokens in blocks possible?
<?php
global $user;
?>
.
.
.
<li>
<a href="/user/<?php echo $user->uid ?>/fboauth?destination=stream">Facebook Deauthorize</a>
</li>
This is a legacy site running 6.28 using FBOauth.
Input Format PHP
? You should be creating your own block module for blocks that require custom PHP. Custom PHP inside any kind of form is an issue.