text= added to urls?

soaringeagle
@soaringeagle
10 years ago
3,304 posts
lately ive reported a few weird url related issues showing up in weird parts of the site (photos/forums/forums/forums

it seems like theres always something new and odd popping up

just now i got 3 urls in same discussions (all 3 the same discussion page)
with weird text= added on

these 3 caused 500 server errors on my sitemap crawler

the urls are
http://www.dreadlockssite.com/dreadlocks-forums/forum/dreading-methods/70753/why-is-the-community-here-so-against-maintained-locs/text=C4206099VDvjVQa1PpcFO4cV_9RJYr4wknC2qw3kEpC1sNhIfBzEI%3D/text=C4206099VDvjVQa1PpcFO4cV_9RJYr4wknC2qw3kEpC1sNhIfBzEI%3D/p=1

http://www.dreadlockssite.com/dreadlocks-forums/forum/dreading-methods/70753/why-is-the-community-here-so-against-maintained-locs/text=C438a45bVDvjVQa1PpcFNhO1jgzaguCckGUlEA44PU5or9VW6ub3I%3D/text=C4206099VDvjVQa1PpcFO4cV_9RJYr4wknC2qw3kEpC1sNhIfBzEI%3D/p=3

http://www.dreadlockssite.com/dreadlocks-forums/forum/dreading-methods/70753/why-is-the-community-here-so-against-maintained-locs/text=C438a45bVDvjVQa1PpcFNhO1jgzaguCckGUlEA44PU5or9VW6ub3I%3D/text=C4206099VDvjVQa1PpcFO4cV_9RJYr4wknC2qw3kEpC1sNhIfBzEI%3D/p=1


i do have the sitemap crawler guys looking into it too
just to be sure its not a software issue

could these txt= be related to the url scanner update since these pages have the url auto converted (i think)




--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 11/07/15 06:36:57PM
soaringeagle
@soaringeagle
10 years ago
3,304 posts
i think i solved the mystery
...
<a href="text=C438a45bVDvjVQa1PpcFNhO1jgzaguCckGUlEA44PU5or9VW6ub3I%3D">...</a>
i think my sitemap crawlers picking up relative urls like
/forum
/topic
(and a typo in 1 page)
and adding them onto the current page causing runaway crawls
argh

that text= is part of the new url scanner right
btw kinda needs an option to not autoplay or only autoplay 1st on page
that page has 4 or 5 and they all autoplay


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
10 years ago
7,800 posts
* url scanner should not be playing automatically.

* that text= isnt part of the url scanner or even something from jamroom I don't think.

I'll try to replicate what you have on that page on my dev system to see.

--edit--
Make sure all your modules are up-to-date the one with the autoplay=false in it is the jrYouTube module.
updated by @michael: 10/03/15 01:10:32AM
michael
@michael
10 years ago
7,800 posts
My mistake, the autoplay feature was added in jrYouTube 1.2.6 but it hadn't been released. It is now. Update and it wont autoplay.
soaringeagle
@soaringeagle
10 years ago
3,304 posts
ok any idea where tese weird text= are coming from
..old ning quote system? i dont think so it seemed to be right where the vid was placed let me look again

ok weird
heres the post code
<p>well i like how my hair looks when its maintained. I still doubt this is common because i have yet to meet someone it has happened to. I do plan space out twisting as my length increases. Im actually gonna try the method in this video.<a href="http://www.youtube.com/watch?v=K6N5zmTr5F0&feature=plcp&context=C4206099VDvjVQa1PpcFO4cV_9RJYr4wknC2qw3kEpC1sNhIfBzEI%3D">http://www.youtube.com/watch?v=K6N5zmTr5F0&feature=plcp&context=C4206099VDvjVQa1PpcFO4cV_9RJYr4wknC2qw3kEpC1sNhIfBzEI%3D</a></p>
<p>as a college student i need to have a level of neatness anyway to better increase my chances of getting job in my field. I may keep them a little bit past shoulder length.</p>
<p>Also where are u getting these statistics?</p>

now if you look at the post itself
notice the link and the video are not in the same places
the link contains
&context=C4206099VDvjVQa1PpcFO4cV_9RJYr4wknC2qw3kEpC1sNhIfBzEI%3D
but only the
text=C4206099VDvjVQa1PpcFO4cV_9RJYr4wknC2qw3kEpC1sNhIfBzEI%3D
is being left in the link
the video is moved from the location of the link to the bottom of the post

as you see in the screenshot oi searched for the text right before the link wich is highlighted in the screenshot
no video is after that its below all text

im guessing that is an issue with the url scanner?
1.jpg
1.jpg  •  255KB




--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 10/03/15 09:07:10AM
brian
@brian
10 years ago
10,149 posts
The "text=" string is not being added by Jamroom - that is being added by something else.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
10 years ago
3,304 posts
its part odf the youtube url i dont konow why context is added
never seen that before but maybe its context from redirecting from a diferent vid i dont know
but its part of the youtube vid thats not being handled right the url scanner should maybe configured to skip or remove all strings after an &
so only the ?view= is used the &featured &context
etc are so\imply remmoved


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
10 years ago
10,149 posts
It's not being added by the URL scan module. I just cut and pasted a YouTube URL into an action update and the URL scan module is correctly showing it. Make sure you are not cutting and pasting that extra stuff in the URL.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
10 years ago
3,304 posts
these urls were pasted in years ago
try pasting in this url
Lock wash and twist start to finish


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
10 years ago
10,149 posts
That works no problem for me embedding it here locally - the URL scan correctly handles the URL.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
10 years ago
3,304 posts
see what i jean all the &'s are unesacary info only the ?v= is needed idf aeverything after each & was simply removed from the urls it would fix it


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
10 years ago
3,304 posts
brian:
That works no problem for me embedding it here locally - the URL scan correctly handles the URL.

it does without adding a link in the source code tha just has the text=
did you check the source?


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
10 years ago
10,149 posts
soaringeagle:
it does without adding a link in the source code tha just has the text=
did you check the source?

I apologize but maybe I'm not understanding you - what source?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
10 years ago
3,304 posts
what im saying is
paste that url as is into a discussu]ion
the url scanner converts that to an embeded video

then look in the page source code for that
<a href="text=C438a45bVDvjVQa1PpcFNhO1jgzaguCckGUlEA44PU5or9VW6ub3I%3D">...</a>
thats left behind when the link is removed and turned into an embed


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
10 years ago
10,149 posts
That's not how it works. When you paste in a YouTube URL, the URL scanner replaces that URL with a call to it's own "parse" function, which in turn loads the urlscan_player.tpl file from the YouTube module. THAT loads up the YouTube video in an iframe, which ONLY uses the YouTube ID - it does not use any other part of the URL. So if you're seeing that on your iframe URL, then check that you've not customized the urlscan_player.tpl file.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
10 years ago
3,304 posts
im not seeing it in the iframe
im seeing it where the url was pasted

look what i said in the 2nd or 3rd post with the screenshot

the link was pasted after the highlighted text
(as seen when you edit post and paste post code in like i did)
now the iframe as rendered is not at the same location in the post as the link was
where the link was posted in the post you see nothing, however in the code you do see that extra text= in a link code

so whats happening is the link is being passed to the url scanner then to the youtube module to embed the iframe
but its leaving behind a code fragment inside the original link code


at least thats what seems to be happeneing

have you tried pasting it into a discussion in the middle of a block of text and see if it leaves that partial link behind


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
10 years ago
3,304 posts
also only template edited was to add the module search to item_index


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
10 years ago
10,149 posts
I suspect that your add on search engine is adding things to URLs on your site. For example this URL:

http://www.dreadlockssite.com/dreadlocks-forums/forum/dreading-methods/70753/why-is-the-community-here-so-against-maintained-locs/text=C4206099VDvjVQa1PpcFO4cV_9RJYr4wknC2qw3kEpC1sNhIfBzEI%3D/text=C4206099VDvjVQa1PpcFO4cV_9RJYr4wknC2qw3kEpC1sNhIfBzEI%3D/p=1

is NOT a Jamroom URL. Jamroon does NOT add the text= stuff - that's something that is being added outside of Jamroom. This is the Jamroom URL:

http://www.dreadlockssite.com/dreadlocks-forums/forum/dreading-methods/70753/why-is-the-community-here-so-against-maintained-locs

I suspect that this is messing up your output by adding this stuff in, as I'm not seeing any issues here. Embedding this URL:
Lock wash and twist start to finish

works for me regardless where it is pasted at.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
10 years ago
3,304 posts
the search engine has no interaction with the site its the sitemap crawler that is taking the link code thats in that link
interperating it as a relaative link to that page, and attaching it to the url of the page as new page to be crawled


but the problem is that that url fragment is left in the source code

holdon i will do a test myself

ill post what i find in 3 min


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
10 years ago
3,304 posts
ok hmm i think i understand a lil more whats going on

these links are pre- migration to jr from ning

pre-installing the scanner

when i paste that link into the discussion
and look at page source
i see the entire url

when i look at the source of the old discussions
try the method in this video.<a href="text=C4206099VDvjVQa1PpcFO4cV_9RJYr4wknC2qw3kEpC1sNhIfBzEI%3D">...</a></p><p>as a college student i need 


its not when you add a link, but when the url scanner encounters an existing link

heres the code from my y]test note i pasted the url in direct
then again into the add link thing

both tests showed only the complete url

<p>just testing  a theory</p>
<p>http://www.youtube.com/watch?v=K6N5zmTr5F0&amp;feature=plcp&amp;context=C4206099VDvjVQa1PpcFO4cV_9RJYr4wknC2qw3kEpC1sNhIfBzEI%3D</p>[/quote]
</div>
that was test 1 only the pasted in ofcourse test 2 had the full link code
(only 1 copy of the vid emeded)


i believe the issue is when it encounters links that existed at the time the scanner was added/

try creating a new test site
add that url within the center of a block of text..just pasted in

then add the url scanner
and enable it
thats my theory anyway..\

its not a straightforward problem easily tested
thats why im testing it in multiple ways


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
10 years ago
10,149 posts
"When" a URL was added doesn't matter to the URL scanner module. It handles them the same.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
10 years ago
3,304 posts
then why does the code coppied from the di9scussion not match the code copied from source code

what im not getting is
the same link works when i create a new discussion
but as you clearly see something weird happens to it when it was a link imported from the old ning site
same url
diferent results in the source code
something has to be screwed up somewhere right


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

Tags