(this is a minor issue)

The function oa_messages_og_membership_prepare() creates a link to the user. The link is formed by prepending '/user/' to the user id. This leads to 'unfriendly' urls.

Example:

echo l('root', '/user/1');
// gives: <a href="/user/1">root</a>

echo l('root', 'user/1');
// gives: <a href="/users/root">root</a>

Comments

Jorrit created an issue. See original summary.

jorrit’s picture

StatusFileSize
new780 bytes

I created this patch on Windows. If it doesn't apply, please let me know.

jorrit’s picture

Status: Active » Needs review
mpotter’s picture

Status: Needs review » Needs work

Patch does not apply.

jorrit’s picture

Status: Needs work » Needs review
StatusFileSize
new704 bytes

My apologies.

mpotter’s picture

Status: Needs review » Fixed

Fixed in oa_core c406f79.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.