element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Achievement Levels
    • Benefits of Membership
    • Feedback and Support
    • Members Area
    • Personal Blogs
    • What's New on element14
  • Learn
    Learn
    • eBooks
    • Learning Center
    • Learning Groups
    • STEM Academy
    • Webinars, Training and Events
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Arduino Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Project Groups
    • Raspberry Pi Projects
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Or choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Feedback and Support
  • Members
  • More
Feedback and Support
F&S Forum Can't add a "raw" URL in a hyperlink, and site ideas
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
200 X-Frame-Options: SAMEORIGIN Content-Security-Policy: frame-ancestors 'self'; X-UA-Compatible: IE=Edge X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Telligent-Evolution: 12.x Pragma: no-cache Connection: close Accept-Ranges: bytes Cache-Control: no-store, no-cache, max-age=0 Date: Fri, 01 Dec 2023 12:53:30 GMT ETag: "0x8DBE573EDBA1945" Set-Cookie: .te.csrf=1cp2te4RF1XydSD5fCwg7kOQxGvK4xMrGWxAjYEcs4Y; path=/; secure; SameSite=Lax Set-Cookie: .te.auth=5l6GkoPu9%2bhSMIZ2P3ZrGj%2bZVTI0vDIjAAPGfSsmXIcg%2boWJ%2bbYGIWcLYzSXSROg5pECkHLT%2fXq138GR7wUGLKt37uKl2cIbK16ZRBq0vmo0p3b1ElC1Dk%2ft%2bJ4IoSrPtk2nJeMRMyKDTgzsP7f7Cz10OcxdMLAe%2fzPe%2fBXJaDWvvPVy9eyNY%2bCE5CDop4RGfPwt7STHjAxMMNwZRIyBmTwC%2bb2MDeU%2bfYzL3XLv%2b1f2%2bxvjFfbS7zkYgQvd%2fRhciBDFoV2%2bnV38eALuARGang%3d%3d; path=/; secure; HttpOnly; SameSite=Lax Set-Cookie: e14Guest=1; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/; secure; HttpOnly Set-Cookie: e14Country=NL; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/; secure; HttpOnly Set-Cookie: e14Language=en; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/; secure; HttpOnly Set-Cookie: e14TimeZone=Etc/UTC; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/; secure; HttpOnly Server-Timing: cdn-cache; desc=MISS Server-Timing: edge; dur=8 Server-Timing: origin; dur=25 Server-Timing: ak_p; desc="1701435210501_1600474645_50280354_3242_3275_2_6_-";dur=1 Strict-Transport-Security: max-age=86400 ; includeSubDomains ; preload #set ($UserId = $core_v2_user.Accessing.Id) #set ($Roles = $core_v2_utility.MakeList('Moderators', 'Almost Admins', 'Administrators')) #set ($IsAdminLike = $e14_utils.IsUserInRoleOrAdmin($UserId, $Roles)) #if($IsAdminLike == 'False') #end
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 23 replies
  • Answers 3 answers
  • Subscribers 17 subscribers
  • Views 533 views
  • Users 0 members are here
  • Report Bug
Related

Can't add a "raw" URL in a hyperlink, and site ideas

shabaz
shabaz 19 days ago

Hi,

I tried adding a comment to a blog, with a hyperlink (i.e. using the Insert->Link selection from the editor toolbar) and the URL was (without the spaces of course):

https : // raw . githubusercontent.com/shabaz123/adc_board_basic/main/pico_adc_basic.pdf

However, when I do that, it generates an error.

image

My question is, do I get an award for finding two bugs in a weekend : )

  • Reply
  • Cancel
  • Cancel

Top Replies

  • Gough Lui
    Gough Lui 19 days ago +3 suggested
    shabaz said: https : // raw . githubusercontent.com/shabaz123/adc_board_basic/main/pico_adc_basic.pdf Hmm. Let me test a few things ... [BEGIN DIAGNOSIS] Aha ... we're getting a 403 from something…
  • Gough Lui
    Gough Lui 16 days ago in reply to Dudley +3 suggested
    Testing - nope. Same issue: I'm seeing a 403 on the post request. The response was: You don't have permission to access "http://community.element14.com/utility/scripted-file.ashx?" on this server…
  • Dudley
    Dudley 15 days ago in reply to Dudley +2
    I've worked out what this is. It's part of one of our security tools (which means I can't go into too much detail - the bad guys might be reading) with a false positive. I can fix it, but we only just…
  • shabaz
    shabaz 9 days ago in reply to Dudley +2
    Hi! From my perspective it's still the absence of "Latest Activity" that Jive had. The main page's four tabs (Forums/Blogs/Reviews/Docs+Polls) only indicate the latest posted content, and not the latest…
  • Jan Cumps
    Jan Cumps 19 days ago +1
    test (failed) linked embedded github.com/.../pico_adc_basic.pdf I tried the raw link to blob didn't work: This is a "blob: github.com/c809231e-8ca2-49a4-8dc6-7e6513de863f " link I get when downloading…
  • shabaz
    shabaz 16 days ago in reply to Dudley +1
    Hi Dudley, I hope you're well. The issue still occurs, I recorded it in a video here: https://youtu.be/TPZZBcDyB24 However, I think it's super-low-pri since it seems there are some workarounds. …
  • cstanton
    cstanton 16 days ago in reply to shabaz +1
    shabaz said: I think it's not worth fixing Not everyone that visits the site thinks to go through such amazing levels of diagnosis as those in this thread, and if it doesn't work for them they'll get…
  • Dudley
    Dudley 15 days ago in reply to shabaz +1
    Thanks for this Shabaz - if a picture speaks a 1,000 words and a video is 1,000 pictures, that makes a video 1,000,000 words, right?
  • shabaz
    shabaz 14 days ago in reply to Dudley +1
    I dug up this the other day (from the time mobile phone video cameras were not very good)! It charges just fine, and battery life still seems excellent, which is amazing since it has not been charged for…
  • cstanton
    cstanton 10 days ago +1 suggested
    As Dudley has mentioned, the problem has been identified and the solution will be published in the next 'release', this should be within 28 days as I understand it. Thanks for reporting it and your patience…
  • Jan Cumps
    0 Jan Cumps 19 days ago

    test (failed)

    linked

    embedded

    I tried the raw link to blob didn't work: This is a  "blob:github.com/c809231e-8ca2-49a4-8dc6-7e6513de863f" link I get when downloading the raw file - but that's not permanent. Github only serves it once.

    The permalink on github points to the html page with PDF embedded. I didn't find a way to serve the raw pdf repeatedly

    • Cancel
    • Vote Up +1 Vote Down
    • Reply
    • Verify Answer
    • Cancel
  • Jan Cumps
    0 Jan Cumps 19 days ago in reply to Jan Cumps

    your link does serve the PDF repeatedly, in my browser. But couldn't get the forum to accept it either.

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Verify Answer
    • Cancel
  • Gough Lui
    0 Gough Lui 19 days ago
    shabaz said:
    https : // raw . githubusercontent.com/shabaz123/adc_board_basic/main/pico_adc_basic.pdf

    Hmm. Let me test a few things ...

    [BEGIN DIAGNOSIS]

    Aha ... we're getting a 403 from something (Akamai?) when POSTing the reply itself.

    image

    Hmm, can't edit and slip it in ...

    How about non-linked as text: raw.githubusercontent.com/shabaz123/adc_board_basic/main/pico_adc_basic.pdf

    Well ... look like that worked. How about a link minus the protocol:

    ://raw.githubusercontent.com/shabaz123/adc_board_basic/main/pico_adc_basic.pdf

    //raw.githubusercontent.com/shabaz123/adc_board_basic/main/pico_adc_basic.pdf

    Well, hey, that works too - the "protocol-dynamic" notation above seems to work ... perhaps a filtering "bug".

    What about a change of domain:

    https://raw.github.com/shabaz123/adc_board_basic/main/pico_adc_basic.pdf

    Seems like that worked too.

    Seems there is a block on https://raw.githubusercontent.com? Nope. But if I have /shabaz123 added to it, then it 403's. Seems anything in a subpath of that domain is getting 403'd on posting.

    [END OF DIAGNOSIS]

    - Gough

    • Cancel
    • Vote Up +3 Vote Down
    • Reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • shabaz
    0 shabaz 18 days ago in reply to Gough Lui

    Nice, interesting workaround/(slash bug depending if it's seen from a spam prevention viewpoint or not!) with the minus-protocol method.

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Verify Answer
    • Cancel
  • cstanton
    0 cstanton 17 days ago in reply to Gough Lui

    Thanks, Gough, I'll raise this with the server admin team.

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Verify Answer
    • Cancel
  • Dudley
    0 Dudley 16 days ago

    This is really weird.

    I fully believe you when you say you had problems. But are you still having problems now? I ask because I've been trying to check this and I've been having no problems at all.

    https://raw.githubusercontent.com/shabaz123/adc_board_basic/main/pico_adc_basic.pdf

    Am I missing something here? 

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz 16 days ago in reply to Dudley

    Hi Dudley,

    I hope you're well. The issue still occurs, I recorded it in a video here:

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    However, I think it's super-low-pri since it seems there are some workarounds.

    I think it's not worth fixing (unless there are some other knock-on effects or other issues, e.g. for spam prevention purposes or whatever).

    Thanks for checking!

    • Cancel
    • Vote Up +1 Vote Down
    • Reply
    • Verify Answer
    • Cancel
  • cstanton
    0 cstanton 16 days ago in reply to shabaz
    shabaz said:
    I think it's not worth fixing

    Not everyone that visits the site thinks to go through such amazing levels of diagnosis as those in this thread, and if it doesn't work for them they'll get fed up, frustrated and/or bounce away. I'd say it should be fixed Slight smile

    • Cancel
    • Vote Up +1 Vote Down
    • Reply
    • Verify Answer
    • Cancel
  • Gough Lui
    0 Gough Lui 16 days ago in reply to Dudley

    Testing - nope. Same issue:

    image

    I'm seeing a 403 on the post request. The response was:

    image

    You don't have permission to access "http://community.element14.com/utility/scripted-file.ashx?" on this server.
    
    Reference #18.b61dd017.1699999398.2922e94 

    I suspect this is being served out of an Akamai CDN rather than from the origin server - if you're testing the site direct to the origin server, maybe you're bypassing the CDN which is causing the issue Dudley ? Or maybe different CDN edge points have inconsistent WAF rules which are causing unexpected conflicting behaviour?

    Just tested with a fresh Microsoft Edge browser with no extensions - no change:

    image

    I suspect it is not browser-dependent. I'll try a different Australian ISP now ... okay - tried all of the following, but none worked:

    • Telstra
    • Optus
    • Vodafone/TPG
    • Western Sydney University
    • Oracle Cloud (AU, but geo-IPs as US)

    Could it be a user-privilege issue as well ... perhaps the system gives admins a bit more freedom?

    - Gough

    • Cancel
    • Vote Up +3 Vote Down
    • Reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Dudley
    0 Dudley 15 days ago in reply to shabaz

    Thanks for this Shabaz - if a picture speaks a 1,000 words and a video is 1,000 pictures, that makes a video 1,000,000 words, right?

    • Cancel
    • Vote Up +1 Vote Down
    • Reply
    • Verify Answer
    • Cancel
  • Dudley
    0 Dudley 15 days ago in reply to Dudley

    I've worked out what this is. It's part of one of our security tools (which means I can't go into too much detail - the bad guys might be reading) with a false positive.

    I can fix it, but we only just had a release so it'll take a while to get out the door.

    And yes Gough Lui  - it was happening and a CDN level, and the reason I wasn't getting it is because I've got my home IP whitelisted from this rule. Have a biscuit! Make it a good one!

    • Cancel
    • Vote Up +2 Vote Down
    • Reply
    • Verify Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube