Giter Club home page Giter Club logo

arewewptyet's People

Contributors

arewewptyet avatar dependabot[bot] avatar jgraham avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

arewewptyet's Issues

question marks aren't properly encoded, producing bad URLs

For WPT tests where the test itself has URL params (?a=b&c=d) in the URL, the wpt.fyi/results page seems to require the question-mark, ampersand, and equals sign to be url-encoded, since wpt.fyi appends its own URL-params at the end of the URL (?label=experimental etc.) which are distinct from the test URL.

We're not handling that properly right now, which means we produce broken wpt.fyi links for such tests.

For example, this CSV file...
https://jgraham.github.io/arewewptyet/interop-2023/interop-2023-webcompat.csv
...has e.g. the following entry:

"/editing/other/insertparagraph-in-inline-editing-host.tentative.html?white-space=pre&display=table-cell&method=enter",18,0,0,""

...which we end up linking like so in our internal spreadsheet:
https://wpt.fyi/results//editing/other/insertparagraph-in-inline-editing-host.tentative.html?white-space=pre&display=table-cell&method=enter

...and that's a broken link. The correct link (taken from the wpt.fyi dashboard itself, e.g. from the directory view for this test) is:
https://wpt.fyi/results/editing/other/insertparagraph-in-inline-editing-host.tentative.html%3Fwhite-space%3Dpre%26display%3Dtable-cell%26method%3Denter

...which is almost what we've got, but with url-encoded question-mark / ampersand / equals (and without the duplicate / after results, though that part doesn't seem to matter).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.