When user tries to share any item/user profile/comment then the text box gets prepopulated with the main URL i.e. http://gdplocal.leosys.net/ and when user clicks on the copy link to clipboard icon (which is placed beside the google+ sharing icon) the text box then gets filled with the actual URL of item/user profile/comment to be shared. It does copy the correct URL to the clipboard. However, the correct URL should be populated from the start.
If this is hard to fix for some reason an alternative would be to remove the URL text box, and still just copy the correct URL when the user clicks the button.
When user tries to share any item/user profile/comment then the text box gets prepopulated with the main URL i.e. http://gdplocal.leosys.net/ and when user clicks on the copy link to clipboard icon (which is placed beside the google+ sharing icon) the text box then gets filled with the actual URL of item/user profile/comment to be shared. It does copy the correct URL to the clipboard. However, the correct URL should be populated from the start.
If this is hard to fix for some reason an alternative would be to remove the URL text box, and still just copy the correct URL when the user clicks the button.