{"id":13524611,"url":"https://github.com/littleskyfish/query-string-keeper","last_synced_at":"2025-04-01T03:32:14.648Z","repository":{"id":209408219,"uuid":"723979114","full_name":"littleskyfish/query-string-keeper","owner":"littleskyfish","description":"Query String Keeper plugin for YOURLS - tested on YOURLS version 1.8.3.test on php version 8.0.12.","archived":false,"fork":false,"pushed_at":"2023-11-28T03:21:23.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-02T09:31:43.515Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/littleskyfish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-11-27T06:33:54.000Z","updated_at":"2024-04-30T12:35:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"5bac5895-067a-4fcb-adca-7c87f0cd28f2","html_url":"https://github.com/littleskyfish/query-string-keeper","commit_stats":null,"previous_names":["littleskyfish/query-string-keeper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littleskyfish%2Fquery-string-keeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littleskyfish%2Fquery-string-keeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littleskyfish%2Fquery-string-keeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littleskyfish%2Fquery-string-keeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/littleskyfish","download_url":"https://codeload.github.com/littleskyfish/query-string-keeper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246578430,"owners_count":20799823,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T06:01:11.695Z","updated_at":"2025-04-01T03:32:14.386Z","avatar_url":"https://github.com/littleskyfish.png","language":"PHP","funding_links":[],"categories":["Plugins"],"sub_categories":["Q"],"readme":"# query-string-keeper\nQuery String Keeper plugin for YOURLS - tested on YOURLS version 1.8.3 and php version 8.0.12.\n\nDescription\n-----------\nQuery String Keeper retains the query string added to the short url and adds it to the long url. If the long URL already includes a query string, it appends it following an ampersand (\u0026) and if not, appends it to the long url following a question mark (?).  \n\nExamples\n--------\nExamples 1 \u0026 2 use the following short \u0026 long URLs configured in YOURLS:  \nShort url = `http://sho.rt/keyword`  \nLong url  = `http://www.longurl.com`  \n\n_Example 1_  \n`http://sho.rt/keyword?foo=bar`  \n...becomes...  \n`http://www.longurl.com/?foo=bar`  \n\n_Example 2_  \n`http://sho.rt/keyword?123`  \n...becomes...  \n`http://www.longurl.com/?123`  \n\nExample 3 uses the following short \u0026 long URLs configured in YOURLS:  \nShort url = `http://sho.rt/keyword`  \nLong url  = `http://www.longurl.com?foo=bar`  \n_Example 3_  \n`http://sho.rt/keyword?zoo=car`  \n...becomes...  \n`http://www.longurl.com/?foo=bar\u0026zoo=car`  \n\nInstallation\n------------\n1. Move query-string-keeper directory to the `/user/plugins` directory of the YOURLS installation.  \n2. Go to the Plugins administration page ( *eg* `http://sho.rt/admin/plugins.php` ) and activate the `Query String Keeper` plugin.  \n\nOther/References\n----------------\nThis plugin adapted from the Query String Keeper plugin by [jessemaps](https://github.com/jessemaps/yourls-query-string-keeper).\nSolved the problem \u003cPHP v7 for some reason does not return any value in $_SERVER['QUERY_STRING']\u003e.\nThanks for [skarjoss's comment](https://github.com/jessemaps/yourls-query-string-keeper/issues/1#issuecomment-1039690531). \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flittleskyfish%2Fquery-string-keeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flittleskyfish%2Fquery-string-keeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flittleskyfish%2Fquery-string-keeper/lists"}